Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.001247/0.001247, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001381/0.001381, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1925/0.1925, allocations: 38.54 MB / 353.2 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) 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(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 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.001975/0.001975, allocations: 70.23 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3493, allocations: 62.46 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007481/0.3567, allocations: 5.005 MB / 0.5476 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.36, allocations: 1.663 MB / 0.5492 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.3603, allocations: 26.25 kB / 0.5492 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.3615, allocations: 429.1 kB / 0.5496 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006574/0.3622, allocations: 298.4 kB / 0.5499 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.3631, allocations: 373.9 kB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.3642, allocations: 0.7839 MB / 0.551 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005208/0.3647, allocations: 315.6 kB / 0.5514 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005946/0.3653, allocations: 352.4 kB / 0.5517 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000707/0.366, allocations: 493.9 kB / 0.5522 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.3661, allocations: 50.44 kB / 0.5522 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.3665, allocations: 193.9 kB / 0.5524 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.3669, allocations: 283.9 kB / 0.5527 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.3674, allocations: 283 kB / 0.5529 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.3688, allocations: 0.825 MB / 0.5537 GB, free: 8.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3688, allocations: 1.156 kB / 0.5537 GB, free: 8.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3688, allocations: 0 / 0.5537 GB, free: 8.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3688, allocations: 0 / 0.5537 GB, free: 8.203 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002668/0.3714, allocations: 0.8644 MB / 0.5546 GB, free: 7.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.3715, allocations: 14.33 kB / 0.5546 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.421e-05/0.3715, allocations: 12.88 kB / 0.5546 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/0.3717, allocations: 99.59 kB / 0.5547 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.3733, allocations: 170.2 kB / 0.5549 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.3746, allocations: 488.6 kB / 0.5553 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.3747, allocations: 31.56 kB / 0.5554 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/0.3751, allocations: 133.6 kB / 0.5555 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.3767, allocations: 0.8586 MB / 0.5563 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.3767, allocations: 3.938 kB / 0.5563 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/0.3768, allocations: 27.98 kB / 0.5564 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004734/0.3773, allocations: 72.92 kB / 0.5564 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.3784, allocations: 0.6204 MB / 0.557 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005686/0.3841, allocations: 3.576 MB / 0.5605 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.3854, allocations: 0.5303 MB / 0.561 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.3859, allocations: 314.9 kB / 0.5613 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.3859, allocations: 8.438 kB / 0.5614 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3859, allocations: 39 kB / 0.5614 GB, free: 0.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.335e-06/0.3859, allocations: 0 / 0.5614 GB, free: 0.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003954/0.3899, allocations: 1.781 MB / 0.5631 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.39, allocations: 85.67 kB / 0.5632 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.3906, allocations: 421.8 kB / 0.5636 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.616e-05/0.3907, allocations: 33.7 kB / 0.5636 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.391, allocations: 328.6 kB / 0.564 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.3912, allocations: 214.2 kB / 0.5642 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.3915, allocations: 150.2 kB / 0.5643 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.3918, allocations: 374.7 kB / 0.5647 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/0.3924, allocations: 381.5 kB / 0.565 GB, free: 12.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/0.3932, allocations: 0.594 MB / 0.5656 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.3948, allocations: 1.066 MB / 0.5666 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.3948, allocations: 4 kB / 0.5667 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004938/0.3997, allocations: 1.966 MB / 0.5686 GB, free: 9.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.3998, allocations: 12 kB / 0.5686 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.3998, allocations: 12 kB / 0.5686 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/0.4024, allocations: 0.9601 MB / 0.5695 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.4029, allocations: 119.8 kB / 0.5696 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.4149, allocations: 7.905 MB / 0.5774 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.4155, allocations: 39.86 kB / 0.5774 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.4157, allocations: 44.05 kB / 0.5774 GB, free: 15.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004895/0.4162, allocations: 237.6 kB / 0.5777 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.4163, allocations: 55.67 kB / 0.5777 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.4177, allocations: 0.7217 MB / 0.5784 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4177, allocations: 7.984 kB / 0.5784 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4177, allocations: 0 / 0.5784 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4178, allocations: 7.922 kB / 0.5784 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.4206, allocations: 1.434 MB / 0.5798 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4207, allocations: 0 / 0.5798 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.4218, allocations: 187.9 kB / 0.58 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.4218, allocations: 7.938 kB / 0.58 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.4219, allocations: 27.98 kB / 0.5801 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.4219, allocations: 7.875 kB / 0.5801 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4219, allocations: 4 kB / 0.5801 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.4234, allocations: 0.9973 MB / 0.581 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4235, allocations: 47.67 kB / 0.5811 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4236, allocations: 27.98 kB / 0.5811 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.424, allocations: 27.97 kB / 0.5811 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.4241, allocations: 36.31 kB / 0.5812 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.4241, allocations: 24.05 kB / 0.5812 GB, free: 11.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003425/0.4245, allocations: 283.1 kB / 0.5815 GB, free: 11.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4245, allocations: 0 / 0.5815 GB, free: 11.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008991/0.4254, allocations: 208 kB / 0.5817 GB, free: 11.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/0.4272, allocations: 1.573 MB / 0.5832 GB, free: 9.777 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.4299, allocations: 1.418 MB / 0.5846 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4299, allocations: 4 kB / 0.5846 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.4304, allocations: 294.3 kB / 0.5849 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.4311, allocations: 133.5 kB / 0.585 GB, free: 7.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.4482, allocations: 9.691 MB / 0.5945 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.4486, allocations: 382.6 kB / 0.5948 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005456/0.4492, allocations: 200.6 kB / 0.595 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.4496, allocations: 231.3 kB / 0.5952 GB, free: 13.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4496, allocations: 0 / 0.5952 GB, free: 13.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05182/0.5014, allocations: 18.58 MB / 0.6134 GB, free: 10.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.28, allocations: 11.38 kB / 0.6134 GB, free: 10.72 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.471226259018295] Failed to read output from testmodel.py, exit status != 0: 13.45919215399772 13.486367891 13.112618298 Calling exit ...