Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 175.4 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 94.28 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1952/0.1952, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 16 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 56.33 MB / 479.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002882/0.1244, allocations: 1.763 MB / 480.8 MB, free: 256 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.1277, allocations: 1.944 MB / 482.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.1278, allocations: 0 / 482.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.128, allocations: 11.92 kB / 482.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.1281, allocations: 27.83 kB / 482.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.1305, allocations: 0.6398 MB / 483.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1306, allocations: 99.64 kB / 483.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.908e-05/0.1307, allocations: 4.188 kB / 483.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1308, allocations: 35.83 kB / 483.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.131, allocations: 43.83 kB / 483.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.131, allocations: 4 kB / 483.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.1331, allocations: 1.053 MB / 484.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.1332, allocations: 23.91 kB / 484.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.1332, allocations: 29.7 kB / 484.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1347, allocations: 0.9086 MB / 485.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1347, allocations: 0 / 485.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1347, allocations: 0 / 485.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.1347, allocations: 4 kB / 485.7 MB, free: 11.41 MB / 330.7 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.0009671/0.1357, allocations: 0.5161 MB / 486.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1357, allocations: 12.03 kB / 486.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.1358, allocations: 3.906 kB / 486.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.136, allocations: 190.8 kB / 486.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.136, allocations: 0 / 486.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1361, allocations: 0 / 486.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1362, allocations: 69.67 kB / 486.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1363, allocations: 0 / 486.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1363, allocations: 4 kB / 486.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1363, allocations: 3.953 kB / 486.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.47e-05/0.1364, allocations: 35.98 kB / 486.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.1365, allocations: 165.6 kB / 486.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.165e-05/0.1366, allocations: 66.48 kB / 486.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.1367, allocations: 44.88 kB / 486.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.1367, allocations: 0 / 486.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1368, allocations: 34.56 kB / 486.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1368, allocations: 4 kB / 486.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003329/0.1371, allocations: 195.2 kB / 487 MB, free: 9.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1372, allocations: 97.05 kB / 487.1 MB, free: 9.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1373, allocations: 130 kB / 487.2 MB, free: 9.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1373, allocations: 25.7 kB / 487.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.1374, allocations: 96.12 kB / 487.3 MB, free: 9.516 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.1375, allocations: 35.41 kB / 487.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1375, allocations: 0 / 487.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1376, allocations: 326.9 kB / 487.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.1377, allocations: 31.98 kB / 487.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/0.1377, allocations: 35.97 kB / 487.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.1378, allocations: 74.11 kB / 487.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1378, allocations: 0 / 487.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002001/0.138, allocations: 159.1 kB / 488 MB, free: 8.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.1381, allocations: 45.69 kB / 488 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1381, allocations: 7.922 kB / 488 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1381, allocations: 0 / 488 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.1382, allocations: 4.062 kB / 488 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1382, allocations: 0 / 488 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.1382, allocations: 11.86 kB / 488 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1383, allocations: 8 kB / 488 MB, free: 8.758 MB / 330.7 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.0001435/0.1384, allocations: 163.5 kB / 488.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.1384, allocations: 7.906 kB / 488.2 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.907e-05/0.1385, allocations: 16.7 kB / 488.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1385, allocations: 3.984 kB / 488.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1385, allocations: 0 / 488.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1385, allocations: 4 kB / 488.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.1386, allocations: 181.6 kB / 488.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1387, allocations: 0 / 488.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.1387, allocations: 0 / 488.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1387, allocations: 0 / 488.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1387, allocations: 4 kB / 488.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1387, allocations: 0 / 488.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1387, allocations: 0 / 488.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.139, allocations: 294.5 kB / 488.7 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1391, allocations: 96.84 kB / 488.8 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1391, allocations: 4 kB / 488.8 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.022e-05/0.1392, allocations: 0 / 488.8 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.1392, allocations: 7.938 kB / 488.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1392, allocations: 4 kB / 488.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.1393, allocations: 101.9 kB / 488.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1393, allocations: 0 / 488.9 MB, free: 7.781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001027/0.1403, allocations: 323.9 kB / 489.2 MB, free: 7.465 MB / 330.7 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.001271/0.1416, allocations: 362.8 kB / 489.6 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.142, allocations: 299.3 kB / 489.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.142, allocations: 0 / 489.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1422, allocations: 219.3 kB / 490.1 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1425, allocations: 15.94 kB / 490.1 MB, free: 6.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.1431, allocations: 360.7 kB / 490.5 MB, free: 6.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1434, allocations: 0.7043 MB / 491.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.1434, allocations: 11.44 kB / 491.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1434, allocations: 0 / 491.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of Templates: time 0.01102/0.1544, allocations: 5.965 MB / 497.1 MB, free: 15.45 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1)