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.001975/0.001975, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002308/0.002308, allocations: 209.9 kB / 23.73 MB, free: 4.387 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.496/1.496, 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.1885/0.1885, allocations: 38.56 MB / 352.5 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.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.003356/0.003356, allocations: 59.91 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.431, allocations: 62.47 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.007931/0.4389, allocations: 4.126 MB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.4411, allocations: 0.9218 MB / 0.5469 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.4415, allocations: 19.81 kB / 0.5469 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.4417, allocations: 51.92 kB / 0.5469 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008683/0.4426, allocations: 207.9 kB / 0.5471 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.4429, allocations: 93.03 kB / 0.5472 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008741/0.4438, allocations: 490 kB / 0.5477 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.4441, allocations: 91.77 kB / 0.5478 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006088/0.4447, allocations: 224.1 kB / 0.548 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.4453, allocations: 248.2 kB / 0.5482 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4454, allocations: 27 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.4456, allocations: 30.66 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.4458, allocations: 126.4 kB / 0.5484 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.4462, allocations: 148.9 kB / 0.5486 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.4469, allocations: 389 kB / 0.5489 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4469, allocations: 4 kB / 0.5489 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4469, allocations: 0 / 0.5489 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.4469, allocations: 0 / 0.5489 GB, free: 11.02 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.001746/0.4487, allocations: 0.6334 MB / 0.5495 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4487, allocations: 13.05 kB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.99e-05/0.4488, allocations: 68.16 kB / 0.5496 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.449, allocations: 48.09 kB / 0.5497 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.45, allocations: 339.8 kB / 0.55 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.4501, allocations: 18.56 kB / 0.55 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.4501, allocations: 24.59 kB / 0.55 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.4508, allocations: 365.9 kB / 0.5504 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4508, allocations: 1.281 kB / 0.5504 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.4509, allocations: 10.75 kB / 0.5504 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.4509, allocations: 6.344 kB / 0.5504 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.4514, allocations: 261.6 kB / 0.5507 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.454, allocations: 1.352 MB / 0.552 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.4543, allocations: 147.1 kB / 0.5521 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.4545, allocations: 75.23 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.4545, allocations: 2.219 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.4545, allocations: 44.7 kB / 0.5522 GB, free: 8.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.205e-06/0.4545, allocations: 0 / 0.5522 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001474/0.456, allocations: 0.6075 MB / 0.5528 GB, free: 7.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.4561, allocations: 79.33 kB / 0.5529 GB, free: 7.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.4565, allocations: 306.2 kB / 0.5532 GB, free: 7.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.4566, allocations: 26.8 kB / 0.5532 GB, free: 7.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.4568, allocations: 220.1 kB / 0.5534 GB, free: 7.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.4568, allocations: 62.81 kB / 0.5535 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4569, allocations: 56.72 kB / 0.5535 GB, free: 7.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.4572, allocations: 345.5 kB / 0.5539 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4573, allocations: 63.98 kB / 0.5539 GB, free: 6.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.4575, allocations: 176.8 kB / 0.5541 GB, free: 6.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.458, allocations: 257.6 kB / 0.5543 GB, free: 6.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.458, allocations: 1.188 kB / 0.5543 GB, free: 6.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005316/0.4585, allocations: 284.8 kB / 0.5546 GB, free: 6.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4586, allocations: 6.594 kB / 0.5546 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4586, allocations: 4.531 kB / 0.5546 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4586, allocations: 4.562 kB / 0.5546 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.4589, allocations: 58.66 kB / 0.5547 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.4589, allocations: 9.391 kB / 0.5547 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.4591, allocations: 14.55 kB / 0.5547 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.4591, allocations: 13.86 kB / 0.5547 GB, free: 6.371 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.000232/0.4593, allocations: 171.3 kB / 0.5549 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.649e-05/0.4594, allocations: 32.64 kB / 0.5549 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.4599, allocations: 230.8 kB / 0.5551 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4599, allocations: 2.531 kB / 0.5551 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4599, allocations: 1.312 kB / 0.5551 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.4599, allocations: 3.984 kB / 0.5551 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.461, allocations: 0.5816 MB / 0.5557 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.461, allocations: 1 kB / 0.5557 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.4612, allocations: 32.33 kB / 0.5557 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.4612, allocations: 2.312 kB / 0.5557 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.4612, allocations: 9.469 kB / 0.5558 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4612, allocations: 5.031 kB / 0.5558 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4612, allocations: 1.094 kB / 0.5558 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.4619, allocations: 428.1 kB / 0.5562 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.462, allocations: 27.83 kB / 0.5562 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.462, allocations: 8 kB / 0.5562 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4622, allocations: 15.92 kB / 0.5562 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.4622, allocations: 11.98 kB / 0.5562 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.4623, allocations: 7.938 kB / 0.5562 GB, free: 5.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.4625, allocations: 219 kB / 0.5564 GB, free: 4.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4625, allocations: 4.062 kB / 0.5565 GB, free: 4.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.4629, allocations: 56 kB / 0.5565 GB, free: 4.852 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.000964/0.4639, allocations: 0.9552 MB / 0.5574 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.4643, allocations: 184.6 kB / 0.5576 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4643, allocations: 0 / 0.5576 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.4644, allocations: 83.95 kB / 0.5577 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.465, allocations: 73.09 kB / 0.5578 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.4693, allocations: 2.924 MB / 0.5606 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4696, allocations: 199.5 kB / 0.5608 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.4698, allocations: 54.94 kB / 0.5609 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.47, allocations: 107.4 kB / 0.561 GB, free: 60 kB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.47, allocations: 0 / 0.561 GB, free: 60 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.5121, allocations: 6.796 MB / 0.5676 GB, free: 9.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.99, allocations: 4.812 kB / 0.5676 GB, free: 9.434 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.921559174079448] Failed to read output from testmodel.py, exit status != 0: 12.107193946838379 12.133538185 11.681270906 Calling exit ...