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) 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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001693/0.001693, allocations: 195 kB / 18 MB, free: 5.105 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.581/1.581, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1797/0.1797, allocations: 37.99 MB / 309.2 MB, free: 5.965 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.001389/0.001389, allocations: 68.23 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.124, allocations: 55.24 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003346/0.1274, allocations: 2.044 MB / 489.2 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008422/0.1283, allocations: 0.562 MB / 489.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.1283, allocations: 7.938 kB / 489.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.1285, allocations: 11.92 kB / 489.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.1286, allocations: 27.84 kB / 489.8 MB, free: 5.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.129, allocations: 59.84 kB / 489.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1291, allocations: 63.77 kB / 489.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/0.1291, allocations: 7.938 kB / 489.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.1292, allocations: 23.91 kB / 489.9 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.938e-05/0.1293, allocations: 35.84 kB / 490 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1293, allocations: 0 / 490 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.1295, allocations: 79.88 kB / 490 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.1296, allocations: 19.92 kB / 490.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.1296, allocations: 27.75 kB / 490.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1298, allocations: 103.7 kB / 490.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1298, allocations: 0 / 490.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1298, allocations: 0 / 490.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1298, allocations: 0 / 490.2 MB, free: 5.254 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004739/0.1303, allocations: 401 kB / 490.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1304, allocations: 11.89 kB / 490.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.1304, allocations: 8.844 kB / 490.6 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1306, allocations: 176.3 kB / 490.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1306, allocations: 384 / 490.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1307, allocations: 8.125 kB / 490.8 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1308, allocations: 61.62 kB / 490.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1308, allocations: 0 / 490.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1308, allocations: 3.938 kB / 490.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1309, allocations: 3.984 kB / 490.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/0.1309, allocations: 24 kB / 490.9 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1311, allocations: 169.6 kB / 491 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.1312, allocations: 58.56 kB / 491.1 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.1312, allocations: 48.81 kB / 491.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.1313, allocations: 3.938 kB / 491.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1313, allocations: 34.56 kB / 491.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1313, allocations: 0 / 491.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002997/0.1316, allocations: 179.2 kB / 491.3 MB, free: 3.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.1317, allocations: 85.14 kB / 491.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1318, allocations: 125.8 kB / 491.6 MB, free: 3.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1318, allocations: 25.92 kB / 491.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1319, allocations: 88.14 kB / 491.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.132, allocations: 43.3 kB / 491.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.132, allocations: 21.72 kB / 491.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1322, allocations: 314.8 kB / 492 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.1322, allocations: 35.98 kB / 492.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.1323, allocations: 35.86 kB / 492.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.1324, allocations: 161.1 kB / 492.3 MB, free: 2.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1325, allocations: 0 / 492.3 MB, free: 2.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001654/0.1326, allocations: 147.1 kB / 492.4 MB, free: 2.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.1327, allocations: 49.69 kB / 492.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1327, allocations: 3.984 kB / 492.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1327, allocations: 0 / 492.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.1327, allocations: 0 / 492.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1327, allocations: 0 / 492.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.1328, allocations: 7.938 kB / 492.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.1328, allocations: 7.938 kB / 492.5 MB, free: 2.691 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.0001324/0.1329, allocations: 167.5 kB / 492.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.133, allocations: 15.78 kB / 492.7 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.582e-05/0.133, allocations: 8.375 kB / 492.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.133, allocations: 0 / 492.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.133, allocations: 0 / 492.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.133, allocations: 7.969 kB / 492.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1332, allocations: 181.5 kB / 492.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1332, allocations: 0 / 492.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1332, allocations: 0 / 492.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.1332, allocations: 4 kB / 492.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1332, allocations: 7.984 kB / 492.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1332, allocations: 0 / 492.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1332, allocations: 0 / 492.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.1336, allocations: 274.6 kB / 493.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.1336, allocations: 85.02 kB / 493.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1337, allocations: 0 / 493.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.812e-05/0.1337, allocations: 4 kB / 493.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.1337, allocations: 4.031 kB / 493.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1337, allocations: 7.984 kB / 493.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.668e-05/0.1338, allocations: 103.2 kB / 493.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1338, allocations: 3.938 kB / 493.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.134, allocations: 35.94 kB / 493.4 MB, free: 1.691 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.0001782/0.1342, allocations: 107.2 kB / 493.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1345, allocations: 287.3 kB / 493.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1346, allocations: 64 / 493.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1347, allocations: 227.3 kB / 494 MB, free: 1.051 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.135, allocations: 15.83 kB / 494 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.1355, allocations: 263 kB / 494.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1358, allocations: 0.704 MB / 495 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.602e-05/0.1358, allocations: 0 / 495 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.1358, allocations: 11.5 kB / 495 MB, free: 8 kB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1358, allocations: 0 / 495 MB, free: 8 kB / 366.1 MB Notification: Performance of Templates: time 0.004147/0.14, allocations: 1.343 MB / 496.3 MB, free: 14.66 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)