Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 115.5 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1788/0.1788, allocations: 38.02 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 70.28 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1262, allocations: 58.05 MB / 456.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00508/0.1313, allocations: 2.081 MB / 458.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.1324, allocations: 0.526 MB / 458.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.1324, allocations: 0 / 458.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1326, allocations: 7.938 kB / 459 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1328, allocations: 35.88 kB / 459 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1331, allocations: 63.86 kB / 459 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1333, allocations: 67.64 kB / 459.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.1333, allocations: 0 / 459.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.1334, allocations: 39.84 kB / 459.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.1335, allocations: 27.91 kB / 459.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.1335, allocations: 0 / 459.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1337, allocations: 79.81 kB / 459.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.1338, allocations: 11.94 kB / 459.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.1339, allocations: 19.86 kB / 459.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1341, allocations: 95.97 kB / 459.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.1341, allocations: 0 / 459.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1341, allocations: 0 / 459.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1341, allocations: 0 / 459.4 MB, free: 5.348 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005755/0.1347, allocations: 385 kB / 459.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1348, allocations: 15.89 kB / 459.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1348, allocations: 0.9375 kB / 459.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.135, allocations: 184.2 kB / 460 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1351, allocations: 384 / 460 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1351, allocations: 4.125 kB / 460 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1352, allocations: 49.69 kB / 460 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1353, allocations: 0 / 460 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1353, allocations: 4 kB / 460 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1353, allocations: 0 / 460 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.1353, allocations: 19.98 kB / 460 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.1356, allocations: 169.5 kB / 460.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.1357, allocations: 42.56 kB / 460.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.298e-05/0.1358, allocations: 40.81 kB / 460.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1358, allocations: 3.984 kB / 460.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1358, allocations: 30.56 kB / 460.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.1358, allocations: 4 kB / 460.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003151/0.1362, allocations: 143.2 kB / 460.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.1363, allocations: 85.11 kB / 460.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.1364, allocations: 121.7 kB / 460.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1364, allocations: 25.7 kB / 460.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.1364, allocations: 92.12 kB / 460.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.1365, allocations: 23.7 kB / 460.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.1365, allocations: 25.7 kB / 460.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1366, allocations: 318.9 kB / 461.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.1367, allocations: 19.98 kB / 461.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.1367, allocations: 24.22 kB / 461.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1368, allocations: 124.3 kB / 461.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1368, allocations: 0 / 461.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001371/0.137, allocations: 123.2 kB / 461.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.137, allocations: 41.69 kB / 461.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.137, allocations: 0 / 461.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.137, allocations: 0 / 461.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.137, allocations: 0 / 461.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1371, allocations: 8.047 kB / 461.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.1371, allocations: 7.906 kB / 461.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1371, allocations: 8 kB / 461.5 MB, free: 2.98 MB / 334.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.0001088/0.1372, allocations: 155.5 kB / 461.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.1372, allocations: 4 kB / 461.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.596e-05/0.1373, allocations: 12.36 kB / 461.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1373, allocations: 0 / 461.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1373, allocations: 0 / 461.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1373, allocations: 0 / 461.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1374, allocations: 173.5 kB / 461.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1374, allocations: 0 / 461.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1374, allocations: 0 / 461.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1374, allocations: 0 / 461.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1374, allocations: 4 kB / 461.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1374, allocations: 0 / 461.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1374, allocations: 0 / 461.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.1377, allocations: 214.6 kB / 462 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.1377, allocations: 89.03 kB / 462.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1377, allocations: 4 kB / 462.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.848e-05/0.1378, allocations: 4 kB / 462.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.1378, allocations: 3.938 kB / 462.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1378, allocations: 4 kB / 462.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.171e-05/0.1378, allocations: 95.58 kB / 462.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1378, allocations: 0 / 462.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.1382, allocations: 31.94 kB / 462.3 MB, free: 2.09 MB / 334.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.0001922/0.1384, allocations: 107.2 kB / 462.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.1387, allocations: 199.3 kB / 462.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1387, allocations: 3.938 kB / 462.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.139, allocations: 151.4 kB / 462.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1393, allocations: 7.938 kB / 462.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.1399, allocations: 230.8 kB / 462.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.1404, allocations: 0.6962 MB / 463.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.513e-05/0.1404, allocations: 0 / 463.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.1404, allocations: 7.438 kB / 463.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1404, allocations: 0 / 463.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of Templates: time 0.00445/0.1449, allocations: 1.067 MB / 464.7 MB, free: 15.56 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)