Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.001355/0.001355, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001615/0.001615, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.1862/0.1862, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",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.002021/0.002021, allocations: 71.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.312, allocations: 62.47 MB / 0.542 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006883/0.3189, allocations: 4.649 MB / 0.5465 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.3222, allocations: 1.585 MB / 0.5481 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.3225, allocations: 25.06 kB / 0.5481 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3235, allocations: 292.2 kB / 0.5484 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007211/0.3242, allocations: 273 kB / 0.5487 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.3251, allocations: 264.9 kB / 0.5489 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009445/0.326, allocations: 0.6346 MB / 0.5495 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.3265, allocations: 249.3 kB / 0.5498 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.3269, allocations: 298.4 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006062/0.3276, allocations: 419.2 kB / 0.5504 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.3276, allocations: 41.91 kB / 0.5505 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.328, allocations: 170.7 kB / 0.5507 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.3283, allocations: 242.3 kB / 0.5509 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.3286, allocations: 275.9 kB / 0.5511 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009722/0.3296, allocations: 0.6745 MB / 0.5518 GB, free: 9.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.3296, allocations: 3.984 kB / 0.5518 GB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3296, allocations: 0 / 0.5518 GB, free: 9.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.3296, allocations: 1.406 kB / 0.5518 GB, free: 9.113 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002031/0.3317, allocations: 0.8226 MB / 0.5526 GB, free: 8.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3317, allocations: 14.17 kB / 0.5526 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.3318, allocations: 86.89 kB / 0.5527 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006946/0.3325, allocations: 122.5 kB / 0.5528 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3336, allocations: 437.4 kB / 0.5532 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.3337, allocations: 34.19 kB / 0.5533 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.3338, allocations: 63.34 kB / 0.5533 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.335, allocations: 0.689 MB / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.335, allocations: 2.188 kB / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.3351, allocations: 17.44 kB / 0.554 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.3352, allocations: 35.67 kB / 0.5541 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3362, allocations: 0.5299 MB / 0.5546 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004174/0.3404, allocations: 3.039 MB / 0.5575 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.341, allocations: 305.3 kB / 0.5578 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.3413, allocations: 165.6 kB / 0.558 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.3413, allocations: 8 kB / 0.558 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.3413, allocations: 35.06 kB / 0.558 GB, free: 3.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.404e-06/0.3413, allocations: 0 / 0.558 GB, free: 3.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002232/0.3436, allocations: 1.152 MB / 0.5592 GB, free: 2.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.3436, allocations: 89.03 kB / 0.5592 GB, free: 2.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.3441, allocations: 389.5 kB / 0.5596 GB, free: 2.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3441, allocations: 33.7 kB / 0.5596 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.3444, allocations: 304 kB / 0.5599 GB, free: 1.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.3445, allocations: 130.9 kB / 0.5601 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.3447, allocations: 102.3 kB / 0.5602 GB, free: 1.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.3449, allocations: 358.8 kB / 0.5605 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.3452, allocations: 193.1 kB / 0.5607 GB, free: 1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.3457, allocations: 386.4 kB / 0.5611 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008222/0.3465, allocations: 0.6048 MB / 0.5616 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3465, allocations: 0 / 0.5616 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001964/0.3485, allocations: 0.8145 MB / 0.5624 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3485, allocations: 11.59 kB / 0.5625 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3485, allocations: 8 kB / 0.5625 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3498, allocations: 265.3 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.3505, allocations: 139.8 kB / 0.5628 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/0.3557, allocations: 3.846 MB / 0.5666 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.3561, allocations: 27.98 kB / 0.5666 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.3562, allocations: 27.98 kB / 0.5667 GB, free: 10.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003195/0.3565, allocations: 217.6 kB / 0.5669 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.3566, allocations: 43.77 kB / 0.5669 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008681/0.3575, allocations: 488.9 kB / 0.5674 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3575, allocations: 11.94 kB / 0.5674 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3575, allocations: 0 / 0.5674 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.3575, allocations: 3.984 kB / 0.5674 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.3591, allocations: 0.9946 MB / 0.5684 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.3591, allocations: 3.938 kB / 0.5684 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.3596, allocations: 79.89 kB / 0.5684 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3596, allocations: 8.062 kB / 0.5684 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.3596, allocations: 15.98 kB / 0.5685 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3596, allocations: 4 kB / 0.5685 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3596, allocations: 0 / 0.5685 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3607, allocations: 0.7434 MB / 0.5692 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3608, allocations: 43.69 kB / 0.5692 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.3609, allocations: 8.062 kB / 0.5692 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.3611, allocations: 23.97 kB / 0.5693 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.3612, allocations: 15.97 kB / 0.5693 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.3612, allocations: 23.92 kB / 0.5693 GB, free: 7.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003245/0.3615, allocations: 267.1 kB / 0.5696 GB, free: 7.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3615, allocations: 0 / 0.5696 GB, free: 7.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005828/0.3621, allocations: 124 kB / 0.5697 GB, free: 7.273 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.001369/0.3635, allocations: 1.288 MB / 0.5709 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.3651, allocations: 0.7791 MB / 0.5717 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3651, allocations: 4.125 kB / 0.5717 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.3654, allocations: 184.7 kB / 0.5719 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.366, allocations: 96.64 kB / 0.572 GB, free: 4.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009795/0.3758, allocations: 5.32 MB / 0.5772 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.3764, allocations: 0.8898 MB / 0.578 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.3768, allocations: 135.3 kB / 0.5782 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.377, allocations: 167.4 kB / 0.5783 GB, free: 14.04 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.377, allocations: 4 kB / 0.5783 GB, free: 14.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/0.4265, allocations: 11.16 MB / 0.5892 GB, free: 3.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.08, allocations: 6.812 kB / 0.5892 GB, free: 3.02 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.838165709050372] Failed to read output from testmodel.py, exit status != 0: 14.205256072804332 14.221014536 13.888191117 Calling exit ...