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.001404/0.001404, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001551/0.001551, allocations: 219 kB / 21.46 MB, free: 1.586 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 / 254.8 MB, free: 15.22 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.2185/0.2185, allocations: 38.51 MB / 349.4 MB, free: 2.574 MB / 270.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.002065/0.002065, allocations: 60.06 kB / 487.8 MB, free: 32.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1283, allocations: 62.42 MB / 0.5374 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.007798/0.1361, allocations: 3.509 MB / 0.5408 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.1396, allocations: 1.539 MB / 0.5423 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.1398, allocations: 11.94 kB / 0.5423 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1409, allocations: 266.9 kB / 0.5426 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009674/0.1418, allocations: 282.9 kB / 0.5428 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.1423, allocations: 131.6 kB / 0.5429 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.1429, allocations: 339 kB / 0.5433 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.1433, allocations: 117.7 kB / 0.5434 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004082/0.1437, allocations: 163.3 kB / 0.5435 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.1441, allocations: 175.4 kB / 0.5437 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.1441, allocations: 12 kB / 0.5437 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008266/0.1449, allocations: 339.2 kB / 0.544 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.1451, allocations: 107.6 kB / 0.5441 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.1453, allocations: 99.48 kB / 0.5442 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007705/0.1461, allocations: 362.7 kB / 0.5446 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1461, allocations: 0 / 0.5446 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1461, allocations: 0 / 0.5446 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1461, allocations: 4 kB / 0.5446 GB, free: 2.074 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.001036/0.1471, allocations: 0.5254 MB / 0.5451 GB, free: 1.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1471, allocations: 8.031 kB / 0.5451 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/0.1472, allocations: 8.188 kB / 0.5451 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.861e-05/0.1472, allocations: 50.73 kB / 0.5452 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.1488, allocations: 96.69 kB / 0.5453 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.1493, allocations: 275.8 kB / 0.5455 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.1494, allocations: 12.38 kB / 0.5455 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.1495, allocations: 16.38 kB / 0.5455 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.1503, allocations: 329.5 kB / 0.5459 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.1503, allocations: 4 kB / 0.5459 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.1504, allocations: 8 kB / 0.5459 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.1504, allocations: 15.98 kB / 0.5459 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/0.1512, allocations: 295.7 kB / 0.5462 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/0.1541, allocations: 1.264 MB / 0.5474 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.1548, allocations: 229.1 kB / 0.5476 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.155, allocations: 93.67 kB / 0.5477 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.155, allocations: 4 kB / 0.5477 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.1551, allocations: 34.56 kB / 0.5477 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 2.595e-06/0.1551, allocations: 0 / 0.5477 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001312/0.1564, allocations: 443.1 kB / 0.5482 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.1565, allocations: 85.22 kB / 0.5483 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.1568, allocations: 206.3 kB / 0.5484 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1568, allocations: 25.7 kB / 0.5485 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.157, allocations: 164.1 kB / 0.5486 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.1571, allocations: 63.47 kB / 0.5487 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1572, allocations: 45.7 kB / 0.5487 GB, free: 13.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.1575, allocations: 330.8 kB / 0.549 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1577, allocations: 91.89 kB / 0.5491 GB, free: 13.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.158, allocations: 156.5 kB / 0.5493 GB, free: 12.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.1586, allocations: 256.4 kB / 0.5495 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1586, allocations: 0 / 0.5495 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007267/0.1593, allocations: 305.1 kB / 0.5498 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1593, allocations: 10.44 kB / 0.5498 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1593, allocations: 4 kB / 0.5498 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.1594, allocations: 7.984 kB / 0.5498 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.1598, allocations: 55.91 kB / 0.5499 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1598, allocations: 4 kB / 0.5499 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.16, allocations: 15.97 kB / 0.5499 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.16, allocations: 8.281 kB / 0.5499 GB, free: 12.24 MB / 414.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.0002282/0.1603, allocations: 162.3 kB / 0.5501 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.17e-05/0.1604, allocations: 23.84 kB / 0.5501 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/0.161, allocations: 223.4 kB / 0.5503 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.161, allocations: 4 kB / 0.5503 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.161, allocations: 0 / 0.5503 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.161, allocations: 7.812 kB / 0.5503 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.1631, allocations: 0.9516 MB / 0.5513 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.1631, allocations: 4 kB / 0.5513 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1634, allocations: 39.92 kB / 0.5513 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.1634, allocations: 4 kB / 0.5513 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.1634, allocations: 11.94 kB / 0.5513 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/0.1634, allocations: 7.938 kB / 0.5513 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.1634, allocations: 8.484 kB / 0.5513 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.1641, allocations: 420.9 kB / 0.5517 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1642, allocations: 101 kB / 0.5518 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.1642, allocations: 11.94 kB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.1645, allocations: 11.98 kB / 0.5518 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.1646, allocations: 27.86 kB / 0.5519 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.1646, allocations: 12 kB / 0.5519 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.1648, allocations: 154.7 kB / 0.552 GB, free: 9.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1648, allocations: 0 / 0.552 GB, free: 9.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007115/0.1656, allocations: 56 kB / 0.5521 GB, free: 9.816 MB / 414.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.001112/0.1667, allocations: 0.9348 MB / 0.553 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005719/0.1672, allocations: 216 kB / 0.5532 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1672, allocations: 0 / 0.5532 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.1675, allocations: 95.75 kB / 0.5533 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.1683, allocations: 50.72 kB / 0.5533 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.1733, allocations: 2.702 MB / 0.556 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.1739, allocations: 0.7632 MB / 0.5567 GB, free: 4.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.1741, allocations: 53.5 kB / 0.5568 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1743, allocations: 67.41 kB / 0.5568 GB, free: 4.613 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1743, allocations: 0 / 0.5568 GB, free: 4.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.2006, allocations: 4.203 MB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/8.766, allocations: 10.17 kB / 0.561 GB, free: 0.5 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.717054084991105] Failed to read output from testmodel.py, exit status != 0: 8.897983473027125 8.921475419 8.772305479 Calling exit ...