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.001709/0.001709, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001933/0.001933, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.187/0.187, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.002055/0.002055, allocations: 68.12 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 62.47 MB / 0.5419 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006044/0.329, allocations: 4.383 MB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.3319, allocations: 1.467 MB / 0.5477 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.3322, allocations: 20.91 kB / 0.5477 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009593/0.3331, allocations: 285.9 kB / 0.5479 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000656/0.3338, allocations: 270.1 kB / 0.5482 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.3346, allocations: 272 kB / 0.5485 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007349/0.3353, allocations: 0.6309 MB / 0.5491 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/0.3357, allocations: 244.2 kB / 0.5493 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.3362, allocations: 302.6 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.3368, allocations: 408.1 kB / 0.55 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.3369, allocations: 40.81 kB / 0.55 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.3372, allocations: 159.9 kB / 0.5502 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.3375, allocations: 250.5 kB / 0.5504 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.3377, allocations: 223.2 kB / 0.5506 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.3386, allocations: 0.6759 MB / 0.5513 GB, free: 9.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3386, allocations: 0 / 0.5513 GB, free: 9.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3386, allocations: 1.344 kB / 0.5513 GB, free: 9.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3386, allocations: 0 / 0.5513 GB, free: 9.582 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.001975/0.3406, allocations: 0.8233 MB / 0.5521 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3406, allocations: 13.83 kB / 0.5521 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.3407, allocations: 91.8 kB / 0.5522 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007237/0.3415, allocations: 125.9 kB / 0.5523 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.3426, allocations: 434.4 kB / 0.5527 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.3426, allocations: 33.62 kB / 0.5528 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.3428, allocations: 59.61 kB / 0.5528 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3439, allocations: 0.6803 MB / 0.5535 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3439, allocations: 1.969 kB / 0.5535 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.3439, allocations: 17.28 kB / 0.5535 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.3441, allocations: 35.67 kB / 0.5535 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008565/0.3449, allocations: 0.5284 MB / 0.5541 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.3491, allocations: 2.949 MB / 0.5569 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.3497, allocations: 297.3 kB / 0.5572 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.35, allocations: 169.6 kB / 0.5574 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.3501, allocations: 4 kB / 0.5574 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.3501, allocations: 39.06 kB / 0.5574 GB, free: 4.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.3501, allocations: 4 kB / 0.5574 GB, free: 4.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002224/0.3523, allocations: 1.152 MB / 0.5585 GB, free: 3.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.3524, allocations: 85.05 kB / 0.5586 GB, free: 2.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.3529, allocations: 401.4 kB / 0.559 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.3529, allocations: 33.7 kB / 0.559 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.3532, allocations: 304 kB / 0.5593 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3533, allocations: 123 kB / 0.5595 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3534, allocations: 106.3 kB / 0.5596 GB, free: 1.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3536, allocations: 354.9 kB / 0.5599 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.3539, allocations: 193.2 kB / 0.5601 GB, free: 1.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.3545, allocations: 390.3 kB / 0.5604 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.3553, allocations: 0.5969 MB / 0.561 GB, free: 276 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3553, allocations: 4 kB / 0.561 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001946/0.3573, allocations: 0.8307 MB / 0.5618 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3573, allocations: 12 kB / 0.5619 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3573, allocations: 8 kB / 0.5619 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.3585, allocations: 261.3 kB / 0.5621 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.3592, allocations: 135.8 kB / 0.5622 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.3644, allocations: 3.814 MB / 0.566 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.3649, allocations: 27.97 kB / 0.566 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.3649, allocations: 28.06 kB / 0.566 GB, free: 10.9 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.0003306/0.3652, allocations: 221.6 kB / 0.5662 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.3653, allocations: 43.7 kB / 0.5663 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008494/0.3662, allocations: 484.9 kB / 0.5667 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3662, allocations: 7.938 kB / 0.5667 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3662, allocations: 3.984 kB / 0.5667 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3662, allocations: 0 / 0.5667 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.3678, allocations: 0.9557 MB / 0.5677 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3678, allocations: 3.938 kB / 0.5677 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.3683, allocations: 91.88 kB / 0.5678 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.3683, allocations: 0 / 0.5678 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.3683, allocations: 11.98 kB / 0.5678 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3683, allocations: 4 kB / 0.5678 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3683, allocations: 0 / 0.5678 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3695, allocations: 0.7435 MB / 0.5685 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3696, allocations: 55.64 kB / 0.5686 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.3697, allocations: 12.25 kB / 0.5686 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.37, allocations: 15.98 kB / 0.5686 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.37, allocations: 27.95 kB / 0.5686 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.3701, allocations: 12 kB / 0.5686 GB, free: 8.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003553/0.3704, allocations: 267.1 kB / 0.5689 GB, free: 7.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3704, allocations: 0 / 0.5689 GB, free: 7.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006702/0.3711, allocations: 128 kB / 0.569 GB, free: 7.746 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.001471/0.3726, allocations: 1.288 MB / 0.5703 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.3743, allocations: 0.783 MB / 0.571 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3743, allocations: 0 / 0.571 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.3746, allocations: 184.7 kB / 0.5712 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.3752, allocations: 86.09 kB / 0.5713 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/0.3847, allocations: 5.324 MB / 0.5765 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3851, allocations: 298.4 kB / 0.5768 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.3854, allocations: 131.3 kB / 0.5769 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.3857, allocations: 171.4 kB / 0.5771 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3857, allocations: 0 / 0.5771 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04747/0.4332, allocations: 11.37 MB / 0.5882 GB, free: 3.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.73, allocations: 0 / 0.5882 GB, free: 3.953 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.58458204008639] Failed to read output from testmodel.py, exit status != 0: 13.86089056218043 13.884333585 13.541279638 Calling exit ...