Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001097, allocations: 94.14 kB / 16.3 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.00128/0.00128, allocations: 180.7 kB / 17.2 MB, free: 5.914 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.554/1.554, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.308/0.308, allocations: 38.05 MB / 309.7 MB, free: 8.859 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.0005367/0.0005368, allocations: 16 kB / 376.5 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 56.34 MB / 432.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002928/0.1351, allocations: 1.703 MB / 434.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008232/0.136, allocations: 0.5272 MB / 435.1 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.136, allocations: 3.938 kB / 435.1 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.1362, allocations: 11.98 kB / 435.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.1363, allocations: 11.91 kB / 435.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1367, allocations: 51.86 kB / 435.1 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.1368, allocations: 31.95 kB / 435.2 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.1368, allocations: 3.984 kB / 435.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.1369, allocations: 27.88 kB / 435.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.137, allocations: 19.91 kB / 435.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.137, allocations: 0 / 435.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1371, allocations: 39.95 kB / 435.3 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.1372, allocations: 23.92 kB / 435.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.1373, allocations: 41.58 kB / 435.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1375, allocations: 72.11 kB / 435.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1375, allocations: 0 / 435.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1375, allocations: 0 / 435.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1375, allocations: 0 / 435.4 MB, free: 4.152 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004896/0.138, allocations: 440.6 kB / 435.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.138, allocations: 8.031 kB / 435.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.1381, allocations: 15.77 kB / 435.8 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1383, allocations: 190.8 kB / 436 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1383, allocations: 0 / 436 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1384, allocations: 0 / 436 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1385, allocations: 89.67 kB / 436.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1385, allocations: 0 / 436.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1386, allocations: 0 / 436.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1386, allocations: 3.953 kB / 436.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.1387, allocations: 67.91 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.1388, allocations: 177.5 kB / 436.4 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.139, allocations: 98.58 kB / 436.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.139, allocations: 4 kB / 436.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.139, allocations: 30.56 kB / 436.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.139, allocations: 0 / 436.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004957/0.1395, allocations: 389.2 kB / 436.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.1396, allocations: 97.11 kB / 437 MB, free: 2.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1397, allocations: 138 kB / 437.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1397, allocations: 25.7 kB / 437.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.1398, allocations: 92.58 kB / 437.2 MB, free: 2.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.1399, allocations: 78.8 kB / 437.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.1399, allocations: 0 / 437.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002644/0.1402, allocations: 330.8 kB / 437.6 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.1402, allocations: 51.97 kB / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.1403, allocations: 63.84 kB / 437.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.1405, allocations: 121.7 kB / 437.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1405, allocations: 0 / 437.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002892/0.1408, allocations: 223 kB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.1409, allocations: 65.66 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1409, allocations: 0 / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1409, allocations: 3.938 kB / 438.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.1409, allocations: 0 / 438.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1409, allocations: 0 / 438.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.1409, allocations: 15.84 kB / 438.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.141, allocations: 16 kB / 438.2 MB, free: 1.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.1411, allocations: 191.5 kB / 438.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1412, allocations: 27.83 kB / 438.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.1412, allocations: 5.188 kB / 438.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1412, allocations: 0 / 438.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1412, allocations: 0 / 438.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1412, allocations: 4 kB / 438.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1414, allocations: 201.4 kB / 438.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1414, allocations: 0 / 438.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1414, allocations: 8 kB / 438.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1414, allocations: 0 / 438.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1414, allocations: 4 kB / 438.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1414, allocations: 0 / 438.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1414, allocations: 0 / 438.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.142, allocations: 0.506 MB / 439.1 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.142, allocations: 88.95 kB / 439.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1421, allocations: 4 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.549e-05/0.1421, allocations: 8.031 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.1421, allocations: 8 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1422, allocations: 4 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.261e-05/0.1422, allocations: 107.2 kB / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1422, allocations: 0 / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1425, allocations: 40 kB / 439.4 MB, free: 15.8 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.1427, allocations: 115.2 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007681/0.1434, allocations: 0.6947 MB / 440.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1434, allocations: 4.062 kB / 440.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.144, allocations: 0.5696 MB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.1441, allocations: 23.94 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.1447, allocations: 469.8 kB / 441.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.145, allocations: 0.7241 MB / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.145, allocations: 0 / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.1451, allocations: 11.44 kB / 441.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1451, allocations: 0 / 441.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of Templates: time 0.004501/0.1496, allocations: 1.69 MB / 443.6 MB, free: 11.43 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) Environment - environmentSimulation: