Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.001712/0.001712, 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.002045/0.002045, allocations: 216.5 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.528/1.528, 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.1899/0.1899, allocations: 38.54 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.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",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.002301/0.002301, allocations: 71.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3343, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005379/0.3397, allocations: 3.584 MB / 0.5455 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3422, allocations: 1.572 MB / 0.547 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.3424, allocations: 14.16 kB / 0.547 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008789/0.3433, allocations: 262.4 kB / 0.5473 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.344, allocations: 279 kB / 0.5476 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.3443, allocations: 131.5 kB / 0.5477 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.3449, allocations: 332.6 kB / 0.548 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.3452, allocations: 126.7 kB / 0.5481 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.3455, allocations: 163.5 kB / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.3459, allocations: 156.4 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.3459, allocations: 13.66 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000595/0.3465, allocations: 349.8 kB / 0.5488 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3466, allocations: 98.45 kB / 0.5489 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.3467, allocations: 104.6 kB / 0.549 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.3472, allocations: 361.3 kB / 0.5493 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3472, allocations: 0 / 0.5493 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3472, allocations: 4 kB / 0.5493 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3473, allocations: 0 / 0.5493 GB, free: 10.86 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006289/0.3479, allocations: 458.2 kB / 0.5498 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3479, allocations: 13.67 kB / 0.5498 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.348, allocations: 53.14 kB / 0.5498 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.3489, allocations: 104.2 kB / 0.5499 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.3493, allocations: 218 kB / 0.5501 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3493, allocations: 15.59 kB / 0.5501 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.3493, allocations: 19.94 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.3499, allocations: 323.1 kB / 0.5505 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3499, allocations: 4 kB / 0.5505 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.3499, allocations: 10.8 kB / 0.5505 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.3499, allocations: 19.11 kB / 0.5505 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.3504, allocations: 300 kB / 0.5508 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.3522, allocations: 1.251 MB / 0.552 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.3525, allocations: 120.6 kB / 0.5521 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.3525, allocations: 37.95 kB / 0.5522 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.3526, allocations: 5.547 kB / 0.5522 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3526, allocations: 36 kB / 0.5522 GB, free: 8.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.3526, allocations: 0 / 0.5522 GB, free: 8.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003125/0.3529, allocations: 138 kB / 0.5523 GB, free: 8.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.353, allocations: 82.52 kB / 0.5524 GB, free: 8.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.3532, allocations: 212.7 kB / 0.5526 GB, free: 8.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3532, allocations: 25.7 kB / 0.5526 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3533, allocations: 172.7 kB / 0.5528 GB, free: 7.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3534, allocations: 45.61 kB / 0.5528 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.3534, allocations: 44.16 kB / 0.5529 GB, free: 7.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3536, allocations: 327.4 kB / 0.5532 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/0.3537, allocations: 40.59 kB / 0.5532 GB, free: 7.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3538, allocations: 131.4 kB / 0.5534 GB, free: 7.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.3541, allocations: 196.8 kB / 0.5536 GB, free: 7.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3541, allocations: 0 / 0.5536 GB, free: 7.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003611/0.3544, allocations: 214.4 kB / 0.5538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3544, allocations: 6.531 kB / 0.5538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3545, allocations: 3.469 kB / 0.5538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3545, allocations: 9.438 kB / 0.5538 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3546, allocations: 44.02 kB / 0.5538 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.3547, allocations: 12.92 kB / 0.5538 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3548, allocations: 19.83 kB / 0.5538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3548, allocations: 12.25 kB / 0.5539 GB, free: 7.059 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 (23): * Single equations (assignments): 23 * 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.0001534/0.3549, allocations: 161.3 kB / 0.554 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.355, allocations: 20.17 kB / 0.554 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.3552, allocations: 117.5 kB / 0.5541 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3552, allocations: 1.188 kB / 0.5541 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3552, allocations: 5.094 kB / 0.5542 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3552, allocations: 1.344 kB / 0.5542 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/0.356, allocations: 0.5391 MB / 0.5547 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.356, allocations: 7.438 kB / 0.5547 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.3561, allocations: 15.12 kB / 0.5547 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3561, allocations: 7.531 kB / 0.5547 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3561, allocations: 3.719 kB / 0.5547 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.3561, allocations: 15.52 kB / 0.5547 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3561, allocations: 2.188 kB / 0.5547 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.3564, allocations: 282.5 kB / 0.555 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.3565, allocations: 29.28 kB / 0.555 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3565, allocations: 7.5 kB / 0.555 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.3566, allocations: 2.359 kB / 0.555 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3567, allocations: 17.72 kB / 0.5551 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3567, allocations: 6.281 kB / 0.5551 GB, free: 6.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.3568, allocations: 151.9 kB / 0.5552 GB, free: 5.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3568, allocations: 3.938 kB / 0.5552 GB, free: 5.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.3572, allocations: 52.92 kB / 0.5553 GB, free: 5.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * 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.0005977/0.3578, allocations: 0.8109 MB / 0.556 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.358, allocations: 126.6 kB / 0.5562 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.358, allocations: 0 / 0.5562 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.171e-05/0.3581, allocations: 39.73 kB / 0.5562 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3585, allocations: 32.14 kB / 0.5562 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.3611, allocations: 2.327 MB / 0.5585 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.3615, allocations: 0.7593 MB / 0.5593 GB, free: 2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.3616, allocations: 37.61 kB / 0.5593 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.3617, allocations: 59.42 kB / 0.5593 GB, free: 1.906 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3617, allocations: 0 / 0.5593 GB, free: 1.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.3917, allocations: 3.596 MB / 0.5629 GB, free: 14.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.51, allocations: 11.86 kB / 0.5629 GB, free: 14.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.435479264939204] Failed to read output from testmodel.py, exit status != 0: 11.611852418165654 11.636140214 11.284078051 Calling exit ...