Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001292/0.001292, allocations: 116.1 kB / 19.16 MB, free: 3.922 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.001302/0.001302, allocations: 205.7 kB / 22.11 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 207.6 MB / 232.5 MB, free: 3.93 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 51.94 kB / 343 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.0916, allocations: 49.13 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.008142/0.09974, allocations: 6.3 MB / 398.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.1038, allocations: 2.181 MB / 400.6 MB, free: 176 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.1043, allocations: 23.94 kB / 400.6 MB, free: 152 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.1061, allocations: 0.7657 MB / 401.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1076, allocations: 0.6251 MB / 402 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.1085, allocations: 0.5025 MB / 402.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.1098, allocations: 1.195 MB / 403.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009736/0.1107, allocations: 0.6791 MB / 404.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.1113, allocations: 478.2 kB / 404.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006624/0.1119, allocations: 0.5523 MB / 405.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.1121, allocations: 108 kB / 405.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.1126, allocations: 271.8 kB / 405.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.1128, allocations: 251.1 kB / 406 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.1133, allocations: 0.5481 MB / 406.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1149, allocations: 1.471 MB / 408.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1149, allocations: 0 / 408.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1149, allocations: 0 / 408.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.1149, allocations: 0 / 408.1 MB, free: 8.676 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003003/0.1179, allocations: 1.466 MB / 409.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1179, allocations: 15.97 kB / 409.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.803e-05/0.118, allocations: 33.08 kB / 409.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/0.1182, allocations: 170.7 kB / 409.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.1212, allocations: 475.8 kB / 410.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008811/0.1221, allocations: 0.5815 MB / 410.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/0.1221, allocations: 78.44 kB / 410.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.1223, allocations: 107.9 kB / 411 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.1241, allocations: 1.067 MB / 412 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.1241, allocations: 3.938 kB / 412 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.1242, allocations: 44 kB / 412.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.1243, allocations: 24 kB / 412.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.1261, allocations: 0.9252 MB / 413 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00557/0.1316, allocations: 3.763 MB / 416.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.1344, allocations: 2.413 MB / 419.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009622/0.1353, allocations: 436.4 kB / 419.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.1355, allocations: 98.09 kB / 419.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009138/0.1364, allocations: 0.5049 MB / 420.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.675e-06/0.1364, allocations: 0 / 420.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.009669/0.146, allocations: 3.71 MB / 423.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.1462, allocations: 196.9 kB / 424.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.1468, allocations: 474 kB / 424.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.1469, allocations: 53.67 kB / 424.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.1473, allocations: 444.9 kB / 425.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/0.1476, allocations: 360.9 kB / 425.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.1479, allocations: 194.8 kB / 425.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.1481, allocations: 374.8 kB / 426 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000725/0.1488, allocations: 342.5 kB / 426.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009691/0.1498, allocations: 0.6015 MB / 426.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.1515, allocations: 0.9591 MB / 427.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.1515, allocations: 4 kB / 427.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002996/0.1545, allocations: 1.35 MB / 429.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1545, allocations: 8 kB / 429.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.1545, allocations: 8 kB / 429.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.1559, allocations: 402.3 kB / 429.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.1566, allocations: 179.7 kB / 429.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008526/0.1651, allocations: 7.097 MB / 436.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/0.1659, allocations: 60.03 kB / 437 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.166, allocations: 40 kB / 437 MB, free: 10.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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.0005031/0.1665, allocations: 261.6 kB / 437.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.1666, allocations: 83.47 kB / 437.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.1696, allocations: 1.261 MB / 438.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.1696, allocations: 8 kB / 438.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1696, allocations: 7.984 kB / 438.6 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.1696, allocations: 3.984 kB / 438.6 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00446/0.1741, allocations: 2.401 MB / 441 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.1741, allocations: 8.094 kB / 441 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.1746, allocations: 119.8 kB / 441.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.1759, allocations: 374.2 kB / 441.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.1759, allocations: 27.92 kB / 441.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00795/0.1839, allocations: 6.772 MB / 448.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.1839, allocations: 4.031 kB / 448.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/0.1875, allocations: 1.758 MB / 450.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.1878, allocations: 216.6 kB / 450.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-05/0.1879, allocations: 20 kB / 450.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.1885, allocations: 59.95 kB / 450.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.1887, allocations: 84.77 kB / 450.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.1887, allocations: 31.98 kB / 450.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003843/0.1891, allocations: 318.9 kB / 450.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1891, allocations: 4 kB / 450.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001152/0.1903, allocations: 292 kB / 451.1 MB, free: 11.46 MB / 382.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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * 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 (70): * Single equations (assignments): 64 * 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.003958/0.1942, allocations: 2.351 MB / 453.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002775/0.197, allocations: 1.41 MB / 454.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.197, allocations: 4.125 kB / 454.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.1987, allocations: 0.9643 MB / 455.8 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.1994, allocations: 130.9 kB / 455.9 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1793/0.3787, allocations: 7.528 MB / 463.5 MB, free: 62.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.3794, allocations: 1.02 MB / 464.5 MB, free: 61.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004792/0.3799, allocations: 98 kB / 464.6 MB, free: 61.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.3803, allocations: 349.4 kB / 464.9 MB, free: 61.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3803, allocations: 1.438 kB / 464.9 MB, free: 61.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05385/0.4341, allocations: 22.29 MB / 487.2 MB, free: 51.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.02, allocations: 0 / 487.2 MB, free: 51.59 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.463376611005515] 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.182221119001042 14.199273877 14.081907851 Calling exit ...