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.001749/0.001749, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002173/0.002173, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.1891/0.1891, allocations: 38.53 MB / 353.2 MB, free: 12.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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.002079/0.002079, allocations: 63.91 kB / 493.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3087, allocations: 62.47 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006529/0.3152, allocations: 4.642 MB / 0.5473 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.3185, allocations: 1.584 MB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.3189, allocations: 21.06 kB / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.32, allocations: 313.3 kB / 0.5492 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008666/0.3209, allocations: 265 kB / 0.5494 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009966/0.3219, allocations: 272.1 kB / 0.5497 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.3229, allocations: 0.6346 MB / 0.5503 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004932/0.3234, allocations: 257.2 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000652/0.3241, allocations: 290.6 kB / 0.5508 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007749/0.3249, allocations: 419.3 kB / 0.5512 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.325, allocations: 41 kB / 0.5513 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005253/0.3255, allocations: 172 kB / 0.5514 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.3259, allocations: 250.1 kB / 0.5517 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.3263, allocations: 272 kB / 0.5519 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.3276, allocations: 0.6697 MB / 0.5526 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3276, allocations: 1.125 kB / 0.5526 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3276, allocations: 0 / 0.5526 GB, free: 9.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3277, allocations: 0 / 0.5526 GB, free: 9.109 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.002257/0.3299, allocations: 0.8228 MB / 0.5534 GB, free: 8.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.33, allocations: 14.2 kB / 0.5534 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.074e-05/0.33, allocations: 11.03 kB / 0.5534 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.3301, allocations: 92.27 kB / 0.5535 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.3309, allocations: 126.3 kB / 0.5536 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.332, allocations: 434.1 kB / 0.554 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.332, allocations: 38.12 kB / 0.5541 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.3322, allocations: 51 kB / 0.5541 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.3333, allocations: 0.6862 MB / 0.5548 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3333, allocations: 1.938 kB / 0.5548 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/0.3334, allocations: 17.25 kB / 0.5548 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.3335, allocations: 36.7 kB / 0.5548 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.3344, allocations: 0.5253 MB / 0.5554 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.3385, allocations: 3.047 MB / 0.5583 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.3391, allocations: 301.3 kB / 0.5586 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.3393, allocations: 157.7 kB / 0.5588 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.3394, allocations: 15.92 kB / 0.5588 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3394, allocations: 43.05 kB / 0.5588 GB, free: 3.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.3394, allocations: 0 / 0.5588 GB, free: 3.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002268/0.3417, allocations: 1.156 MB / 0.56 GB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.3418, allocations: 85.05 kB / 0.56 GB, free: 2.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.3423, allocations: 389.7 kB / 0.5604 GB, free: 2.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.3423, allocations: 37.7 kB / 0.5604 GB, free: 2.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.3426, allocations: 304 kB / 0.5607 GB, free: 1.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3427, allocations: 127 kB / 0.5609 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.3429, allocations: 102.3 kB / 0.5609 GB, free: 1.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.343, allocations: 358.7 kB / 0.5613 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.3433, allocations: 193.2 kB / 0.5615 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.3438, allocations: 382.4 kB / 0.5618 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008735/0.3447, allocations: 0.6047 MB / 0.5624 GB, free: 15.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3447, allocations: 4 kB / 0.5624 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00202/0.3467, allocations: 0.8146 MB / 0.5632 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3467, allocations: 4 kB / 0.5632 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.3467, allocations: 8 kB / 0.5632 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.348, allocations: 269.8 kB / 0.5635 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.3486, allocations: 135.8 kB / 0.5636 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005176/0.3538, allocations: 3.842 MB / 0.5674 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.3543, allocations: 23.98 kB / 0.5674 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.3543, allocations: 31.97 kB / 0.5674 GB, free: 10.44 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.0003552/0.3547, allocations: 225.7 kB / 0.5676 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/0.3548, allocations: 39.77 kB / 0.5677 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008194/0.3556, allocations: 484.9 kB / 0.5681 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3556, allocations: 11.88 kB / 0.5682 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3556, allocations: 96 / 0.5682 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3556, allocations: 3.938 kB / 0.5682 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.3571, allocations: 0.9985 MB / 0.5691 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3572, allocations: 4 kB / 0.5691 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.3576, allocations: 83.88 kB / 0.5692 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3576, allocations: 4 kB / 0.5692 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.3577, allocations: 12 kB / 0.5692 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3577, allocations: 3.984 kB / 0.5692 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3577, allocations: 4 kB / 0.5692 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3588, allocations: 0.7473 MB / 0.57 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.3589, allocations: 35.75 kB / 0.57 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.3589, allocations: 8.062 kB / 0.57 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.3592, allocations: 19.98 kB / 0.57 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.3593, allocations: 27.89 kB / 0.5701 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3593, allocations: 12 kB / 0.5701 GB, free: 7.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003588/0.3596, allocations: 271.1 kB / 0.5703 GB, free: 7.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3596, allocations: 0 / 0.5703 GB, free: 7.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006568/0.3603, allocations: 120 kB / 0.5704 GB, free: 7.254 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.001484/0.3618, allocations: 1.292 MB / 0.5717 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.3634, allocations: 0.7749 MB / 0.5725 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3634, allocations: 0 / 0.5725 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.3637, allocations: 188.7 kB / 0.5726 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.3643, allocations: 93.08 kB / 0.5727 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009709/0.3741, allocations: 5.328 MB / 0.5779 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.3746, allocations: 0.8937 MB / 0.5788 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003677/0.375, allocations: 135.3 kB / 0.5789 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.3753, allocations: 175.4 kB / 0.5791 GB, free: 14.01 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3753, allocations: 0 / 0.5791 GB, free: 14.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.416, allocations: 11.18 MB / 0.59 GB, free: 2.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.37, allocations: 15.86 kB / 0.59 GB, free: 2.977 MB / 430.1 MB " [Timeout remaining time 645] (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: 17.329830806003883] Failed to read output from testmodel.py, exit status != 0: 14.547869959031232 14.573672698 14.24058108 Calling exit ...