Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 214.7 kB / 24.51 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 51.92 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 53.36 MB / 431.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007635/0.2499, allocations: 5.589 MB / 437.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004199/0.2541, allocations: 2.11 MB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005235/0.2546, allocations: 27.88 kB / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.2566, allocations: 0.7072 MB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.2583, allocations: 0.5978 MB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2595, allocations: 0.5183 MB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.261, allocations: 1.183 MB / 442.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.2623, allocations: 0.7729 MB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.263, allocations: 486.2 kB / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/0.2637, allocations: 0.5406 MB / 444.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.2638, allocations: 112 kB / 444.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.2645, allocations: 279.8 kB / 444.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.2647, allocations: 251.1 kB / 445 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.2652, allocations: 461.8 kB / 445.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.2669, allocations: 1.494 MB / 447 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2669, allocations: 3.938 kB / 447 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2669, allocations: 4 kB / 447 MB, free: 7.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.2669, allocations: 0 / 447 MB, free: 7.477 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00324/0.2702, allocations: 1.668 MB / 448.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2702, allocations: 8.031 kB / 448.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.181e-05/0.2703, allocations: 34.12 kB / 448.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.2705, allocations: 170.4 kB / 448.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.2729, allocations: 391.9 kB / 449.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009194/0.2739, allocations: 0.5251 MB / 449.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.2739, allocations: 74.39 kB / 449.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.2741, allocations: 108.1 kB / 449.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.276, allocations: 1.132 MB / 451.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.276, allocations: 7.938 kB / 451.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-05/0.2761, allocations: 40 kB / 451.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.2761, allocations: 28 kB / 451.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.2777, allocations: 0.8583 MB / 452 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/0.2829, allocations: 3.171 MB / 455.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.2847, allocations: 0.86 MB / 456 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/0.2855, allocations: 405.9 kB / 456.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.2856, allocations: 28.97 kB / 456.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009412/0.2866, allocations: 0.5976 MB / 457.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=88): time 2.915e-06/0.2866, allocations: 0 / 457.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.007181/0.2938, allocations: 2.646 MB / 459.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.2939, allocations: 200.9 kB / 459.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.2945, allocations: 478 kB / 460.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.2946, allocations: 49.7 kB / 460.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.2949, allocations: 425 kB / 460.8 MB, free: 9.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.2952, allocations: 357 kB / 461.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.2955, allocations: 170.9 kB / 461.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2957, allocations: 382.8 kB / 461.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/0.2964, allocations: 338.5 kB / 462 MB, free: 7.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009473/0.2973, allocations: 0.6617 MB / 462.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.2989, allocations: 0.8994 MB / 463.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2989, allocations: 0 / 463.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002825/0.3017, allocations: 1.304 MB / 464.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3017, allocations: 12.03 kB / 464.9 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3017, allocations: 4 kB / 464.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.3031, allocations: 402.1 kB / 465.3 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.3037, allocations: 155.8 kB / 465.5 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008642/0.3124, allocations: 6.722 MB / 472.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007249/0.3131, allocations: 59.89 kB / 472.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.3132, allocations: 36 kB / 472.3 MB, free: 13.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004565/0.3136, allocations: 266.6 kB / 472.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3138, allocations: 79.48 kB / 472.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.3166, allocations: 1.234 MB / 473.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.3166, allocations: 12 kB / 473.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3166, allocations: 4 kB / 473.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3167, allocations: 3.984 kB / 473.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.321, allocations: 2.217 MB / 476.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.321, allocations: 4 kB / 476.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.3216, allocations: 119.8 kB / 476.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.3229, allocations: 384 kB / 476.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.323, allocations: 20 kB / 476.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007818/0.3308, allocations: 6.4 MB / 483 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3308, allocations: 0 / 483 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.3344, allocations: 1.754 MB / 484.8 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.3347, allocations: 143.5 kB / 484.9 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3348, allocations: 20 kB / 484.9 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.3354, allocations: 52 kB / 485 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.3356, allocations: 92.66 kB / 485.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/0.3357, allocations: 35.98 kB / 485.1 MB, free: 15.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000473/0.3362, allocations: 326.9 kB / 485.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3362, allocations: 0 / 485.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001141/0.3373, allocations: 292 kB / 485.7 MB, free: 15.26 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,17), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004117/0.3414, allocations: 2.366 MB / 488.1 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.3442, allocations: 1.381 MB / 489.4 MB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3442, allocations: 0 / 489.4 MB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.3459, allocations: 0.9572 MB / 490.4 MB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.3466, allocations: 130.7 kB / 490.5 MB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.3593, allocations: 7.392 MB / 497.9 MB, free: 2.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.3598, allocations: 442.7 kB / 498.4 MB, free: 2.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.3602, allocations: 86.06 kB / 498.4 MB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.3607, allocations: 351.3 kB / 498.8 MB, free: 1.727 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3607, allocations: 0 / 498.8 MB, free: 1.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06287/0.4236, allocations: 22.84 MB / 0.5094 GB, free: 11.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.43, allocations: 11.62 kB / 0.5094 GB, free: 11.24 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.92313491902314] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageQS.pin_p.reference.gamma', 'iAC.mean1.y', 'iAC.mean2.y', 'iDC2.mean.y'] 14.608921640901826 14.622934036 14.35302713 Calling exit ...