Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 94.17 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.001283/0.001283, allocations: 184.3 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.514/1.514, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3472/0.3472, allocations: 38.05 MB / 309.7 MB, free: 8.84 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.0005591/0.0005591, allocations: 18.17 kB / 376.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1415, allocations: 56.35 MB / 432.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002494/0.144, allocations: 1.707 MB / 434.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.1448, allocations: 0.5272 MB / 435.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.1448, allocations: 0 / 435.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.145, allocations: 11.88 kB / 435.1 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.754e-05/0.145, allocations: 11.97 kB / 435.1 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1453, allocations: 51.86 kB / 435.1 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.1454, allocations: 31.95 kB / 435.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.1454, allocations: 3.984 kB / 435.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.1455, allocations: 27.92 kB / 435.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.1456, allocations: 19.86 kB / 435.2 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-06/0.1456, allocations: 0 / 435.2 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1457, allocations: 43.94 kB / 435.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.1458, allocations: 39.86 kB / 435.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1458, allocations: 37.64 kB / 435.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.1459, allocations: 88.09 kB / 435.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.146, allocations: 0 / 435.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.146, allocations: 0 / 435.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.146, allocations: 7.938 kB / 435.4 MB, free: 4.082 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005648/0.1466, allocations: 472.4 kB / 435.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1466, allocations: 12.03 kB / 435.9 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.1467, allocations: 19.67 kB / 435.9 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1469, allocations: 191.3 kB / 436.1 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.147, allocations: 4 kB / 436.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.147, allocations: 0 / 436.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1472, allocations: 130.6 kB / 436.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1472, allocations: 0 / 436.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1472, allocations: 0 / 436.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1472, allocations: 7.953 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1473, allocations: 92.3 kB / 436.3 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.1475, allocations: 198.1 kB / 436.5 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1477, allocations: 146.9 kB / 436.7 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.1477, allocations: 0 / 436.7 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1477, allocations: 30.56 kB / 436.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.112e-06/0.1477, allocations: 3.938 kB / 436.7 MB, free: 2.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007855/0.1485, allocations: 0.5638 MB / 437.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.1486, allocations: 109.1 kB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1488, allocations: 151 kB / 437.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1488, allocations: 29.69 kB / 437.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1489, allocations: 92.8 kB / 437.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.1491, allocations: 130 kB / 437.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1491, allocations: 0 / 437.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1493, allocations: 330.8 kB / 438.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1494, allocations: 103.9 kB / 438.2 MB, free: 1.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/0.1495, allocations: 87.97 kB / 438.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1497, allocations: 182.9 kB / 438.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1497, allocations: 3.938 kB / 438.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003294/0.15, allocations: 326.8 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.1501, allocations: 89.62 kB / 438.9 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1501, allocations: 3.984 kB / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1502, allocations: 0 / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1502, allocations: 0 / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1502, allocations: 0 / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.1502, allocations: 23.81 kB / 438.9 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.1503, allocations: 11.95 kB / 438.9 MB, free: 332 kB / 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.0001989/0.1505, allocations: 227.4 kB / 439.1 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1505, allocations: 23.81 kB / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.1505, allocations: 5.969 kB / 439.2 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1505, allocations: 8 kB / 439.2 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1506, allocations: 0 / 439.2 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1506, allocations: 3.938 kB / 439.2 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1508, allocations: 233.2 kB / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1508, allocations: 0 / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1508, allocations: 4 kB / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1508, allocations: 0 / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1508, allocations: 11.98 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1508, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1508, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009285/0.1517, allocations: 0.9004 MB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.1518, allocations: 96.77 kB / 440.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1519, allocations: 4 kB / 440.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.1519, allocations: 12.03 kB / 440.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.1519, allocations: 8 kB / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.152, allocations: 4 kB / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.152, allocations: 112.6 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1521, allocations: 0 / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1523, allocations: 64 kB / 440.6 MB, free: 14.51 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.000218/0.1525, allocations: 111.2 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.154, allocations: 1.596 MB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.154, allocations: 0 / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.1552, allocations: 1.366 MB / 443.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1555, allocations: 35.86 kB / 443.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.1564, allocations: 0.6745 MB / 444.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.1568, allocations: 0.7559 MB / 445.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.134e-05/0.1568, allocations: 4 kB / 445.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.1568, allocations: 7.438 kB / 445.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1568, allocations: 0 / 445.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of Templates: time 0.005497/0.1623, allocations: 2.313 MB / 447.5 MB, free: 7.559 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) Environment - environmentSimulation: