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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001369/0.001369, allocations: 112.9 kB / 17.06 MB, free: 5.996 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.001642/0.001642, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1728/0.1728, allocations: 38 MB / 309.2 MB, free: 5.941 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 63.91 kB / 431.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1227, allocations: 55.25 MB / 487.1 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003522/0.1262, allocations: 2.04 MB / 489.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.1271, allocations: 0.5659 MB / 489.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.1272, allocations: 11.94 kB / 489.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1273, allocations: 7.922 kB / 489.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.824e-05/0.1275, allocations: 27.89 kB / 489.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1278, allocations: 67.78 kB / 489.8 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1279, allocations: 63.77 kB / 489.9 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.128, allocations: 3.984 kB / 489.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1281, allocations: 31.84 kB / 489.9 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.1282, allocations: 27.91 kB / 490 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1282, allocations: 4 kB / 490 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1283, allocations: 75.84 kB / 490 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.1284, allocations: 19.91 kB / 490.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.1284, allocations: 11.88 kB / 490.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1286, allocations: 103.7 kB / 490.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1286, allocations: 0 / 490.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1286, allocations: 3.938 kB / 490.2 MB, free: 5.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1286, allocations: 0 / 490.2 MB, free: 5.234 MB / 366.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.0003821/0.129, allocations: 377 kB / 490.5 MB, free: 4.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1291, allocations: 15.88 kB / 490.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.1291, allocations: 8.938 kB / 490.6 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1293, allocations: 180.2 kB / 490.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1293, allocations: 4.375 kB / 490.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1293, allocations: 4.125 kB / 490.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1294, allocations: 53.66 kB / 490.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1295, allocations: 0 / 490.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1295, allocations: 3.938 kB / 490.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1295, allocations: 0 / 490.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.1295, allocations: 23.98 kB / 490.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1297, allocations: 161.7 kB / 491 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.556e-05/0.1298, allocations: 42.56 kB / 491 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.1298, allocations: 32.83 kB / 491.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1298, allocations: 4 kB / 491.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1298, allocations: 34.56 kB / 491.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1299, allocations: 0 / 491.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002519/0.1301, allocations: 143.2 kB / 491.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1302, allocations: 93.12 kB / 491.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1303, allocations: 117.8 kB / 491.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1303, allocations: 25.7 kB / 491.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.1304, allocations: 80.14 kB / 491.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.1304, allocations: 31.55 kB / 491.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.1305, allocations: 21.72 kB / 491.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1306, allocations: 318.8 kB / 491.9 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.1306, allocations: 23.98 kB / 491.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.1307, allocations: 24 kB / 492 MB, free: 3.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1308, allocations: 128.3 kB / 492.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1308, allocations: 0 / 492.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000129/0.1309, allocations: 119.3 kB / 492.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.131, allocations: 45.69 kB / 492.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.131, allocations: 0 / 492.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.131, allocations: 0 / 492.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.131, allocations: 0 / 492.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1311, allocations: 0 / 492.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.1311, allocations: 7.906 kB / 492.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1311, allocations: 4.062 kB / 492.3 MB, free: 2.883 MB / 366.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.0001051/0.1312, allocations: 163.5 kB / 492.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.1312, allocations: 7.984 kB / 492.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.292e-05/0.1313, allocations: 4.375 kB / 492.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1313, allocations: 0 / 492.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1313, allocations: 4 kB / 492.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1313, allocations: 0 / 492.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1314, allocations: 177.4 kB / 492.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1314, allocations: 4 kB / 492.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-06/0.1314, allocations: 7.938 kB / 492.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1314, allocations: 0 / 492.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1315, allocations: 4 kB / 492.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1315, allocations: 0 / 492.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1315, allocations: 0 / 492.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1317, allocations: 206.7 kB / 492.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.1318, allocations: 81.39 kB / 492.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1318, allocations: 4 kB / 492.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.1318, allocations: 12.02 kB / 492.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.1318, allocations: 4 kB / 492.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1319, allocations: 3.938 kB / 492.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.1319, allocations: 91.27 kB / 493 MB, free: 2.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1319, allocations: 0 / 493 MB, free: 2.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.1322, allocations: 28 kB / 493 MB, free: 1.988 MB / 366.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.000177/0.1323, allocations: 115.2 kB / 493.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1326, allocations: 199.3 kB / 493.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1326, allocations: 4.062 kB / 493.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1327, allocations: 151.3 kB / 493.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.133, allocations: 11.94 kB / 493.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.1334, allocations: 214.3 kB / 493.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1337, allocations: 0.6924 MB / 494.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.43e-05/0.1337, allocations: 0 / 494.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.1337, allocations: 11.5 kB / 494.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1337, allocations: 3.938 kB / 494.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of Templates: time 0.003611/0.1373, allocations: 1.086 MB / 495.5 MB, free: 15.43 MB / 382.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)