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.00152/0.00152, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001426/0.001426, allocations: 212.6 kB / 24.51 MB, free: 3.945 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.1904/0.1904, allocations: 38.55 MB / 353.2 MB, free: 12.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",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.002902/0.002902, allocations: 70.52 kB / 493.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3384, allocations: 62.47 MB / 0.5427 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.006054/0.3445, allocations: 3.418 MB / 0.546 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3467, allocations: 1.434 MB / 0.5474 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.3469, allocations: 9.562 kB / 0.5475 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009432/0.3479, allocations: 251.6 kB / 0.5477 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000821/0.3487, allocations: 283.9 kB / 0.548 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.349, allocations: 131.7 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.3495, allocations: 335.1 kB / 0.5484 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.3498, allocations: 120.7 kB / 0.5485 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.3501, allocations: 159.9 kB / 0.5487 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.3503, allocations: 167.7 kB / 0.5488 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3504, allocations: 13.78 kB / 0.5488 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.3508, allocations: 281.7 kB / 0.5491 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.351, allocations: 102.9 kB / 0.5492 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3511, allocations: 85.39 kB / 0.5493 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.3516, allocations: 360 kB / 0.5496 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3516, allocations: 0 / 0.5496 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3516, allocations: 0 / 0.5496 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3516, allocations: 0 / 0.5496 GB, free: 11.09 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.000679/0.3523, allocations: 451.2 kB / 0.5501 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3523, allocations: 17.83 kB / 0.5501 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.795e-05/0.3523, allocations: 4.781 kB / 0.5501 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.3524, allocations: 54.45 kB / 0.5501 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009966/0.3534, allocations: 103.5 kB / 0.5502 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.3538, allocations: 222.6 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3538, allocations: 19.84 kB / 0.5505 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.3538, allocations: 15.47 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.3544, allocations: 325.5 kB / 0.5508 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3544, allocations: 0 / 0.5508 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.3544, allocations: 10.48 kB / 0.5508 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.3544, allocations: 19.97 kB / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.3549, allocations: 299.1 kB / 0.5511 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.3566, allocations: 1.211 MB / 0.5523 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.3569, allocations: 113.3 kB / 0.5524 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.357, allocations: 45.52 kB / 0.5524 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.357, allocations: 2.5 kB / 0.5525 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.357, allocations: 31.88 kB / 0.5525 GB, free: 8.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.357, allocations: 1.344 kB / 0.5525 GB, free: 8.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003307/0.3573, allocations: 136.4 kB / 0.5526 GB, free: 8.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.3574, allocations: 91.45 kB / 0.5527 GB, free: 8.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.3576, allocations: 212.1 kB / 0.5529 GB, free: 8.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3576, allocations: 30.77 kB / 0.5529 GB, free: 8.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3578, allocations: 173.3 kB / 0.5531 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.3578, allocations: 36.81 kB / 0.5531 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.3579, allocations: 48.42 kB / 0.5532 GB, free: 8.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.358, allocations: 331 kB / 0.5535 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.3581, allocations: 41.16 kB / 0.5535 GB, free: 7.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.3582, allocations: 133 kB / 0.5537 GB, free: 7.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.3585, allocations: 199.1 kB / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3585, allocations: 5.562 kB / 0.5539 GB, free: 7.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003209/0.3588, allocations: 197.6 kB / 0.554 GB, free: 7.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3588, allocations: 6.656 kB / 0.554 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.3588, allocations: 3.5 kB / 0.5541 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3589, allocations: 9.438 kB / 0.5541 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.359, allocations: 51.41 kB / 0.5541 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.3591, allocations: 9.281 kB / 0.5541 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.3592, allocations: 23.47 kB / 0.5541 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.3592, allocations: 9.219 kB / 0.5542 GB, free: 7.336 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.0001507/0.3593, allocations: 161.5 kB / 0.5543 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.3594, allocations: 15 kB / 0.5543 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.3596, allocations: 122.5 kB / 0.5544 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3596, allocations: 1.469 kB / 0.5544 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3596, allocations: 5.469 kB / 0.5544 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3596, allocations: 4 kB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007404/0.3604, allocations: 0.5214 MB / 0.555 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3604, allocations: 2.969 kB / 0.555 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.3604, allocations: 22.58 kB / 0.555 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3604, allocations: 7.688 kB / 0.555 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3605, allocations: 4.719 kB / 0.555 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3605, allocations: 6.344 kB / 0.555 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.3605, allocations: 7.281 kB / 0.555 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3608, allocations: 287.3 kB / 0.5553 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.3608, allocations: 24.44 kB / 0.5553 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.3608, allocations: 11.2 kB / 0.5553 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.361, allocations: 7.281 kB / 0.5553 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.361, allocations: 10.98 kB / 0.5553 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.361, allocations: 8.969 kB / 0.5553 GB, free: 6.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3611, allocations: 153.4 kB / 0.5555 GB, free: 6.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3611, allocations: 4 kB / 0.5555 GB, free: 6.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.3615, allocations: 52.58 kB / 0.5555 GB, free: 6.172 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.0005579/0.362, allocations: 0.8158 MB / 0.5563 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3623, allocations: 111.5 kB / 0.5564 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3623, allocations: 4.062 kB / 0.5564 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.3624, allocations: 48.5 kB / 0.5565 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3628, allocations: 34.48 kB / 0.5565 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.3654, allocations: 2.325 MB / 0.5588 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.3655, allocations: 147.8 kB / 0.5589 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3656, allocations: 33.61 kB / 0.559 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.3657, allocations: 59.42 kB / 0.559 GB, free: 2.754 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3657, allocations: 0 / 0.559 GB, free: 2.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.3903, allocations: 3.629 MB / 0.5626 GB, free: 15.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 15.97 kB / 0.5626 GB, free: 15.24 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.758780265925452] Failed to read output from testmodel.py, exit status != 0: 11.980923507013358 12.001859944 11.64677111 Calling exit ...