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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.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.1952/0.1952, allocations: 38.5 MB / 342.5 MB, free: 8.016 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.23 kB / 478.6 MB, free: 33.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1462, allocations: 61.24 MB / 0.5272 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003657/0.1499, allocations: 2.066 MB / 0.5292 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008442/0.1507, allocations: 0.5182 MB / 0.5297 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1507, allocations: 8 kB / 0.5297 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.1509, allocations: 11.86 kB / 0.5297 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.151, allocations: 31.89 kB / 0.5298 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1514, allocations: 59.84 kB / 0.5298 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1515, allocations: 55.77 kB / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.1515, allocations: 11.98 kB / 0.5299 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.1516, allocations: 27.86 kB / 0.5299 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.1517, allocations: 27.84 kB / 0.53 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1517, allocations: 8 kB / 0.53 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1519, allocations: 91.78 kB / 0.5301 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.1519, allocations: 19.92 kB / 0.5301 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.152, allocations: 15.81 kB / 0.5301 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1522, allocations: 107.9 kB / 0.5302 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1522, allocations: 0 / 0.5302 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1522, allocations: 3.938 kB / 0.5302 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1522, allocations: 0 / 0.5302 GB, free: 14.29 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.0004806/0.1526, allocations: 400.8 kB / 0.5306 GB, free: 13.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1527, allocations: 11.89 kB / 0.5306 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.1527, allocations: 42.75 kB / 0.5306 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1528, allocations: 8.891 kB / 0.5306 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.153, allocations: 176.3 kB / 0.5308 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.153, allocations: 384 / 0.5308 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.153, allocations: 7.938 kB / 0.5308 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1531, allocations: 69.61 kB / 0.5309 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1531, allocations: 0 / 0.5309 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1531, allocations: 3.938 kB / 0.5309 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1531, allocations: 0 / 0.5309 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.1532, allocations: 31.92 kB / 0.5309 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.1534, allocations: 169.6 kB / 0.5311 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.1535, allocations: 54.5 kB / 0.5311 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.1535, allocations: 36.86 kB / 0.5312 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.1535, allocations: 0 / 0.5312 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1536, allocations: 34.56 kB / 0.5312 GB, free: 13.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 8.22e-07/0.1536, allocations: 0 / 0.5312 GB, free: 13.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003155/0.1539, allocations: 187.2 kB / 0.5314 GB, free: 12.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.154, allocations: 97.09 kB / 0.5315 GB, free: 12.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1541, allocations: 113.8 kB / 0.5316 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1541, allocations: 25.7 kB / 0.5316 GB, free: 12.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.1542, allocations: 88.14 kB / 0.5317 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.1542, allocations: 39.84 kB / 0.5317 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1543, allocations: 21.7 kB / 0.5317 GB, free: 12.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1544, allocations: 322.8 kB / 0.532 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.1545, allocations: 31.98 kB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.1545, allocations: 31.98 kB / 0.5321 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1547, allocations: 156.1 kB / 0.5323 GB, free: 11.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1547, allocations: 0 / 0.5323 GB, free: 11.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000184/0.1548, allocations: 148.1 kB / 0.5324 GB, free: 11.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.66e-05/0.1549, allocations: 53.67 kB / 0.5324 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1549, allocations: 0 / 0.5324 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1549, allocations: 0 / 0.5324 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.1549, allocations: 0 / 0.5324 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1549, allocations: 0 / 0.5324 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.155, allocations: 12.02 kB / 0.5325 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.155, allocations: 4 kB / 0.5325 GB, free: 11.69 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.0001388/0.1551, allocations: 163.5 kB / 0.5326 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.1551, allocations: 11.89 kB / 0.5326 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.1552, allocations: 12.36 kB / 0.5326 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1552, allocations: 4 kB / 0.5326 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1552, allocations: 0 / 0.5326 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1552, allocations: 0 / 0.5326 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1553, allocations: 181.5 kB / 0.5328 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1553, allocations: 4 kB / 0.5328 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.1553, allocations: 0 / 0.5328 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1553, allocations: 0 / 0.5328 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1554, allocations: 8 kB / 0.5328 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1554, allocations: 3.938 kB / 0.5328 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1554, allocations: 0 / 0.5328 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1557, allocations: 282.6 kB / 0.5331 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.1558, allocations: 85.05 kB / 0.5332 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1558, allocations: 4 kB / 0.5332 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.1558, allocations: 8.031 kB / 0.5332 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.1558, allocations: 0 / 0.5332 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1558, allocations: 4 kB / 0.5332 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.341e-05/0.1559, allocations: 91.27 kB / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1559, allocations: 3.938 kB / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1561, allocations: 31.94 kB / 0.5333 GB, free: 10.7 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.0007928/0.1569, allocations: 0.8325 MB / 0.5341 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1573, allocations: 227.3 kB / 0.5344 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1573, allocations: 0 / 0.5344 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.1574, allocations: 155.3 kB / 0.5345 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1577, allocations: 8 kB / 0.5345 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1597, allocations: 1.78 MB / 0.5362 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1601, allocations: 0.7002 MB / 0.5369 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.1601, allocations: 0 / 0.5369 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.1601, allocations: 23.75 kB / 0.537 GB, free: 6.805 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1601, allocations: 0 / 0.537 GB, free: 6.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.1871, allocations: 2.572 MB / 0.5395 GB, free: 4.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.054, allocations: 23.48 kB / 0.5395 GB, free: 4.32 MB / 398.1 MB " [Timeout remaining time 652] (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: 10.989797872956842] Failed to read output from testmodel.py, exit status != 0: 8.120003371033818 8.133941904 7.979011423 Calling exit ...