Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001657/0.001657, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001464/0.001464, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.201/0.201, allocations: 38.53 MB / 352.5 MB, free: 12.55 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.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.002427/0.002427, allocations: 67.91 kB / 492.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4375, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.007178/0.4447, allocations: 4.354 MB / 0.5463 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4466, allocations: 0.9931 MB / 0.5472 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.4468, allocations: 15.81 kB / 0.5472 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.447, allocations: 59.7 kB / 0.5473 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000603/0.4476, allocations: 201 kB / 0.5475 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.4479, allocations: 100.5 kB / 0.5476 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006042/0.4485, allocations: 489.9 kB / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.4487, allocations: 91.06 kB / 0.5481 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.4491, allocations: 224.5 kB / 0.5484 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.4495, allocations: 251.8 kB / 0.5486 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.4496, allocations: 27.47 kB / 0.5486 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.4497, allocations: 34.12 kB / 0.5487 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.4498, allocations: 130.9 kB / 0.5488 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.45, allocations: 176.1 kB / 0.5489 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.4505, allocations: 384.4 kB / 0.5493 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4506, allocations: 1.031 kB / 0.5493 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4506, allocations: 0 / 0.5493 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4506, allocations: 0 / 0.5493 GB, free: 10.87 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001411/0.452, allocations: 0.6362 MB / 0.5499 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.452, allocations: 18.45 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.859e-05/0.4521, allocations: 60.3 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.4523, allocations: 50.55 kB / 0.5501 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.453, allocations: 343.9 kB / 0.5504 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.453, allocations: 19.28 kB / 0.5504 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.4531, allocations: 28.45 kB / 0.5504 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.4537, allocations: 363.7 kB / 0.5508 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4537, allocations: 0 / 0.5508 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.4537, allocations: 11.47 kB / 0.5508 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.4537, allocations: 6.344 kB / 0.5508 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.4542, allocations: 262.5 kB / 0.551 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.4562, allocations: 1.401 MB / 0.5524 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.4565, allocations: 153.7 kB / 0.5526 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4566, allocations: 74.39 kB / 0.5526 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4566, allocations: 2.312 kB / 0.5526 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.4567, allocations: 39.69 kB / 0.5527 GB, free: 8.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.4567, allocations: 0 / 0.5527 GB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001176/0.4578, allocations: 0.6118 MB / 0.5533 GB, free: 7.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4579, allocations: 78.39 kB / 0.5533 GB, free: 7.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.4582, allocations: 302.1 kB / 0.5536 GB, free: 7.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.4583, allocations: 26.83 kB / 0.5537 GB, free: 7.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4584, allocations: 223.7 kB / 0.5539 GB, free: 7.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.4585, allocations: 54.84 kB / 0.5539 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.4585, allocations: 52.34 kB / 0.554 GB, free: 7.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4587, allocations: 342 kB / 0.5543 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4588, allocations: 74.31 kB / 0.5544 GB, free: 6.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.459, allocations: 167.4 kB / 0.5545 GB, free: 6.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.4594, allocations: 258.8 kB / 0.5548 GB, free: 6.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4594, allocations: 1.094 kB / 0.5548 GB, free: 6.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005195/0.4599, allocations: 289.2 kB / 0.5551 GB, free: 6.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4599, allocations: 6.125 kB / 0.5551 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4599, allocations: 3.531 kB / 0.5551 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.4599, allocations: 5 kB / 0.5551 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.4602, allocations: 59.47 kB / 0.5551 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.4602, allocations: 13.72 kB / 0.5551 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.4604, allocations: 14.98 kB / 0.5552 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.4604, allocations: 9.469 kB / 0.5552 GB, free: 6.152 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.4606, allocations: 166.2 kB / 0.5553 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.4607, allocations: 36.58 kB / 0.5554 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.4611, allocations: 224.9 kB / 0.5556 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4611, allocations: 2.281 kB / 0.5556 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4611, allocations: 1.312 kB / 0.5556 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4611, allocations: 7.938 kB / 0.5556 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008656/0.462, allocations: 0.6015 MB / 0.5562 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.462, allocations: 5.438 kB / 0.5562 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.4622, allocations: 40.66 kB / 0.5562 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4622, allocations: 1.094 kB / 0.5562 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.4622, allocations: 6.344 kB / 0.5562 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4622, allocations: 1.031 kB / 0.5562 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4622, allocations: 5.562 kB / 0.5562 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.4628, allocations: 432.5 kB / 0.5566 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.4628, allocations: 28.5 kB / 0.5567 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.4629, allocations: 7.984 kB / 0.5567 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.4631, allocations: 4 kB / 0.5567 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.4631, allocations: 23.91 kB / 0.5567 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4631, allocations: 8 kB / 0.5567 GB, free: 4.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.4633, allocations: 211.1 kB / 0.5569 GB, free: 4.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4633, allocations: 4 kB / 0.5569 GB, free: 4.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.4637, allocations: 56 kB / 0.557 GB, free: 4.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0008494/0.4646, allocations: 0.9521 MB / 0.5579 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.4649, allocations: 183.7 kB / 0.5581 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4649, allocations: 4 kB / 0.5581 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4651, allocations: 80.89 kB / 0.5582 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.4656, allocations: 79.11 kB / 0.5582 GB, free: 3.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.4692, allocations: 2.906 MB / 0.5611 GB, free: 308 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.4697, allocations: 0.8065 MB / 0.5619 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.4699, allocations: 54.92 kB / 0.5619 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.47, allocations: 107.4 kB / 0.562 GB, free: 15.31 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.47, allocations: 4 kB / 0.562 GB, free: 15.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.5066, allocations: 6.305 MB / 0.5682 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.82, allocations: 12.06 kB / 0.5682 GB, free: 9.133 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.767707163933665] Failed to read output from testmodel.py, exit status != 0: 11.928760196082294 11.957021232 11.501440876 Calling exit ...