Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001319/0.001319, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001476/0.001476, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.1875/0.1875, allocations: 38.55 MB / 353.3 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.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.0021/0.0021, allocations: 63.89 kB / 493.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3467, allocations: 62.46 MB / 0.5427 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004858/0.3515, allocations: 3.45 MB / 0.5461 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.3537, allocations: 1.421 MB / 0.5475 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.3538, allocations: 12.84 kB / 0.5475 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008257/0.3547, allocations: 244.9 kB / 0.5477 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006069/0.3553, allocations: 286 kB / 0.548 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.3556, allocations: 123.3 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.356, allocations: 354.5 kB / 0.5484 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.3563, allocations: 119.4 kB / 0.5485 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.3566, allocations: 159.7 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3568, allocations: 166.1 kB / 0.5488 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.3569, allocations: 14.47 kB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.3573, allocations: 284.6 kB / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3575, allocations: 97.55 kB / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3576, allocations: 89.81 kB / 0.5493 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.3581, allocations: 364.8 kB / 0.5497 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3581, allocations: 0.9688 kB / 0.5497 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3581, allocations: 0 / 0.5497 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3581, allocations: 0 / 0.5497 GB, free: 11.06 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.0007122/0.3588, allocations: 453 kB / 0.5501 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3589, allocations: 13.83 kB / 0.5501 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.571e-05/0.3589, allocations: 5.219 kB / 0.5501 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.3589, allocations: 54.02 kB / 0.5502 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/0.3599, allocations: 105.4 kB / 0.5503 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.3603, allocations: 211.7 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3603, allocations: 16.28 kB / 0.5505 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.3603, allocations: 19.8 kB / 0.5505 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.3609, allocations: 327.2 kB / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3609, allocations: 0 / 0.5508 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.3609, allocations: 10.52 kB / 0.5508 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.3609, allocations: 22.3 kB / 0.5508 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.3614, allocations: 293.5 kB / 0.5511 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.3632, allocations: 1.191 MB / 0.5523 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.3637, allocations: 214.7 kB / 0.5525 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3638, allocations: 99.97 kB / 0.5526 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3638, allocations: 2.125 kB / 0.5526 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.3639, allocations: 36.69 kB / 0.5526 GB, free: 8.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3639, allocations: 4 kB / 0.5526 GB, free: 8.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008898/0.3648, allocations: 447.4 kB / 0.5531 GB, free: 8.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3648, allocations: 79.3 kB / 0.5531 GB, free: 8.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.3651, allocations: 197 kB / 0.5533 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3651, allocations: 31.14 kB / 0.5533 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3652, allocations: 164.1 kB / 0.5535 GB, free: 8.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.3653, allocations: 58.77 kB / 0.5536 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.3654, allocations: 48.48 kB / 0.5536 GB, free: 7.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3655, allocations: 331.7 kB / 0.5539 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3656, allocations: 87.45 kB / 0.554 GB, free: 7.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.3658, allocations: 163.9 kB / 0.5542 GB, free: 7.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3662, allocations: 259.7 kB / 0.5544 GB, free: 7.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3662, allocations: 0.6875 kB / 0.5544 GB, free: 7.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004525/0.3666, allocations: 298.3 kB / 0.5547 GB, free: 7.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3667, allocations: 14.66 kB / 0.5547 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3667, allocations: 2.188 kB / 0.5547 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3667, allocations: 7.406 kB / 0.5547 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.3669, allocations: 51.92 kB / 0.5548 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.367, allocations: 7.469 kB / 0.5548 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.3671, allocations: 15.27 kB / 0.5548 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.3671, allocations: 16.28 kB / 0.5548 GB, free: 7.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.3673, allocations: 153.6 kB / 0.555 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.3673, allocations: 20.12 kB / 0.555 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.3677, allocations: 233 kB / 0.5552 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3677, allocations: 2.281 kB / 0.5552 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3677, allocations: 1.25 kB / 0.5552 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3678, allocations: 0 / 0.5552 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.3692, allocations: 0.8994 MB / 0.5561 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3692, allocations: 4.25 kB / 0.5561 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3694, allocations: 38.59 kB / 0.5561 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.3694, allocations: 5.062 kB / 0.5561 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3694, allocations: 10.47 kB / 0.5561 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.3694, allocations: 15.91 kB / 0.5561 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3694, allocations: 6.031 kB / 0.5562 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.3699, allocations: 422.1 kB / 0.5566 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.37, allocations: 23.84 kB / 0.5566 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.37, allocations: 15.92 kB / 0.5566 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.3702, allocations: 8 kB / 0.5566 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.3702, allocations: 27.84 kB / 0.5566 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3702, allocations: 12 kB / 0.5566 GB, free: 5.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.3704, allocations: 154.9 kB / 0.5568 GB, free: 5.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3704, allocations: 0 / 0.5568 GB, free: 5.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.3708, allocations: 56 kB / 0.5568 GB, free: 5.297 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0008358/0.3716, allocations: 0.9365 MB / 0.5578 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.3721, allocations: 226.2 kB / 0.558 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3721, allocations: 0 / 0.558 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3722, allocations: 95.77 kB / 0.5581 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.3727, allocations: 45.53 kB / 0.5581 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.3764, allocations: 2.688 MB / 0.5607 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.3765, allocations: 148.2 kB / 0.5609 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.3767, allocations: 57.52 kB / 0.5609 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.3769, allocations: 67.42 kB / 0.561 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3769, allocations: 0 / 0.561 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.4055, allocations: 4.481 MB / 0.5654 GB, free: 12.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.89, allocations: 8.062 kB / 0.5654 GB, free: 12.37 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.783239657990634] Failed to read output from testmodel.py, exit status != 0: 12.060018618940376 12.082887253 11.721563749 Calling exit ...