Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001956/0.001956, allocations: 113 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.002025/0.002025, allocations: 217.4 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.575/1.575, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.1923/0.1923, allocations: 38.5 MB / 349.4 MB, free: 2.605 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.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.002021/0.002021, allocations: 64.22 kB / 487.8 MB, free: 32.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1438, allocations: 62.43 MB / 0.5374 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.004516/0.1484, allocations: 2.066 MB / 0.5394 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1495, allocations: 0.5533 MB / 0.5399 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.1495, allocations: 4 kB / 0.5399 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.1497, allocations: 11.86 kB / 0.5399 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.1499, allocations: 31.84 kB / 0.54 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1502, allocations: 63.84 kB / 0.54 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1504, allocations: 63.69 kB / 0.5401 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.1505, allocations: 8 kB / 0.5401 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1506, allocations: 39.83 kB / 0.5401 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.1507, allocations: 23.91 kB / 0.5402 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1507, allocations: 0 / 0.5402 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1509, allocations: 91.8 kB / 0.5403 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.151, allocations: 15.94 kB / 0.5403 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.151, allocations: 31.78 kB / 0.5403 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1512, allocations: 99.91 kB / 0.5404 GB, free: 6.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1512, allocations: 3.938 kB / 0.5404 GB, free: 6.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1512, allocations: 0 / 0.5404 GB, free: 6.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1512, allocations: 4 kB / 0.5404 GB, free: 6.402 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005184/0.1518, allocations: 400.9 kB / 0.5408 GB, free: 5.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1518, allocations: 8.031 kB / 0.5408 GB, free: 5.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.362e-05/0.1518, allocations: 192 / 0.5408 GB, free: 5.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.1519, allocations: 34.75 kB / 0.5408 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1519, allocations: 8.891 kB / 0.5408 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1521, allocations: 192.1 kB / 0.541 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1522, allocations: 4.125 kB / 0.541 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1522, allocations: 4 kB / 0.541 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1523, allocations: 69.61 kB / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1523, allocations: 0 / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1523, allocations: 0 / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1523, allocations: 0 / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.1524, allocations: 27.98 kB / 0.5411 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.1526, allocations: 157.7 kB / 0.5413 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.866e-05/0.1527, allocations: 54.5 kB / 0.5413 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.1527, allocations: 32.88 kB / 0.5414 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.1527, allocations: 4 kB / 0.5414 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.1528, allocations: 30.56 kB / 0.5414 GB, free: 5.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1528, allocations: 3.938 kB / 0.5414 GB, free: 5.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003331/0.1531, allocations: 195.4 kB / 0.5416 GB, free: 5.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.1532, allocations: 85.11 kB / 0.5417 GB, free: 4.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1533, allocations: 121.8 kB / 0.5418 GB, free: 4.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1533, allocations: 25.7 kB / 0.5418 GB, free: 4.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.1534, allocations: 92.03 kB / 0.5419 GB, free: 4.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.1534, allocations: 47.58 kB / 0.5419 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.1535, allocations: 17.7 kB / 0.5419 GB, free: 4.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1536, allocations: 318.8 kB / 0.5423 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.1537, allocations: 31.92 kB / 0.5423 GB, free: 4.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.1537, allocations: 31.98 kB / 0.5423 GB, free: 4.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1539, allocations: 156.2 kB / 0.5425 GB, free: 4.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1539, allocations: 3.938 kB / 0.5425 GB, free: 4.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001788/0.1541, allocations: 151.3 kB / 0.5426 GB, free: 3.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.1542, allocations: 53.67 kB / 0.5427 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1542, allocations: 0 / 0.5427 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1542, allocations: 0 / 0.5427 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1542, allocations: 0 / 0.5427 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1542, allocations: 0 / 0.5427 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.1542, allocations: 4 kB / 0.5427 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.1543, allocations: 4 kB / 0.5427 GB, free: 3.805 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001623/0.1544, allocations: 171.4 kB / 0.5428 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.1544, allocations: 7.953 kB / 0.5428 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.1544, allocations: 8.406 kB / 0.5428 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1545, allocations: 7.984 kB / 0.5429 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1545, allocations: 0 / 0.5429 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1545, allocations: 0 / 0.5429 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.1547, allocations: 185.5 kB / 0.543 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1547, allocations: 0 / 0.543 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.1547, allocations: 7.922 kB / 0.543 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1547, allocations: 0 / 0.543 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1547, allocations: 4 kB / 0.543 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1547, allocations: 0 / 0.543 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1547, allocations: 4 kB / 0.543 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1551, allocations: 279.4 kB / 0.5433 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1551, allocations: 81.06 kB / 0.5434 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1551, allocations: 4 kB / 0.5434 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.1552, allocations: 4 kB / 0.5434 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.1552, allocations: 3.984 kB / 0.5434 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1552, allocations: 4 kB / 0.5434 GB, free: 2.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.1553, allocations: 95.2 kB / 0.5435 GB, free: 2.848 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1553, allocations: 4.031 kB / 0.5435 GB, free: 2.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1555, allocations: 31.94 kB / 0.5435 GB, free: 2.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000775/0.1563, allocations: 0.8248 MB / 0.5443 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.1566, allocations: 227.2 kB / 0.5446 GB, free: 1.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.1566, allocations: 8.094 kB / 0.5446 GB, free: 1.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.1568, allocations: 155.3 kB / 0.5447 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1571, allocations: 14.58 kB / 0.5447 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1593, allocations: 1.773 MB / 0.5465 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.1598, allocations: 0.7002 MB / 0.5471 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.437e-05/0.1598, allocations: 4 kB / 0.5471 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.1598, allocations: 19.42 kB / 0.5472 GB, free: 14.92 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1598, allocations: 0 / 0.5472 GB, free: 14.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1808, allocations: 2.62 MB / 0.5497 GB, free: 12.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/8.683, allocations: 8 kB / 0.5497 GB, free: 12.42 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.777252239990048] Failed to read output from testmodel.py, exit status != 0: 8.80786945001455 8.823261333 8.668877257 Calling exit ...