Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 174.2 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.588/1.588, 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.0008113/0.0008112, allocations: 86.36 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.1663/0.1663, allocations: 38.06 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004385, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1159, allocations: 56.34 MB / 479.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.00242/0.1183, allocations: 1.774 MB / 480.8 MB, free: 244 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.1214, allocations: 1.936 MB / 482.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.1214, allocations: 0 / 482.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.1216, allocations: 7.922 kB / 482.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.1217, allocations: 35.77 kB / 482.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.124, allocations: 0.6514 MB / 483.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1242, allocations: 87.72 kB / 483.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.1243, allocations: 12.16 kB / 483.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.1244, allocations: 27.86 kB / 483.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1245, allocations: 63.81 kB / 483.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1245, allocations: 4 kB / 483.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.1263, allocations: 1.053 MB / 484.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.1263, allocations: 47.83 kB / 484.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1264, allocations: 41.58 kB / 484.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1276, allocations: 0.9436 MB / 485.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1277, allocations: 0 / 485.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1277, allocations: 4 kB / 485.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1277, allocations: 4 kB / 485.8 MB, free: 11.3 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009013/0.1286, allocations: 0.5899 MB / 486.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1286, allocations: 12.03 kB / 486.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.1287, allocations: 15.8 kB / 486.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1289, allocations: 206.7 kB / 486.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.129, allocations: 0 / 486.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.129, allocations: 0 / 486.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.1292, allocations: 130.6 kB / 486.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1292, allocations: 8 kB / 486.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1293, allocations: 4 kB / 486.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1293, allocations: 3.953 kB / 486.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1294, allocations: 100.2 kB / 486.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.1296, allocations: 202.1 kB / 487 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1298, allocations: 154.9 kB / 487.2 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.13, allocations: 149.2 kB / 487.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.13, allocations: 0 / 487.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.13, allocations: 38.56 kB / 487.4 MB, free: 9.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 9.42e-07/0.13, allocations: 0 / 487.4 MB, free: 9.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006898/0.1307, allocations: 495.7 kB / 487.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.1308, allocations: 113 kB / 487.9 MB, free: 8.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.131, allocations: 170.9 kB / 488.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.131, allocations: 25.7 kB / 488.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.1311, allocations: 108.8 kB / 488.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.1312, allocations: 134 kB / 488.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.1312, allocations: 8 kB / 488.4 MB, free: 8.457 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1314, allocations: 334.8 kB / 488.7 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1315, allocations: 95.95 kB / 488.8 MB, free: 8.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1316, allocations: 95.95 kB / 488.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.1318, allocations: 182.9 kB / 489.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1318, allocations: 7.938 kB / 489.1 MB, free: 7.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003924/0.1322, allocations: 338.9 kB / 489.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.019e-05/0.1323, allocations: 81.64 kB / 489.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1323, allocations: 7.938 kB / 489.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1324, allocations: 4.062 kB / 489.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.1324, allocations: 0 / 489.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1324, allocations: 3.984 kB / 489.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/0.1325, allocations: 23.7 kB / 489.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.1325, allocations: 8 kB / 489.5 MB, free: 7.266 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.0002175/0.1327, allocations: 239.4 kB / 489.8 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1328, allocations: 23.72 kB / 489.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.1328, allocations: 10.66 kB / 489.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1328, allocations: 0 / 489.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1328, allocations: 8 kB / 489.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1328, allocations: 0 / 489.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.133, allocations: 241.3 kB / 490.1 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.133, allocations: 0 / 490.1 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.1331, allocations: 0 / 490.1 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1331, allocations: 0 / 490.1 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.1331, allocations: 11.98 kB / 490.1 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1331, allocations: 3.984 kB / 490.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1331, allocations: 0 / 490.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009837/0.1341, allocations: 0.9198 MB / 491 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1342, allocations: 100.8 kB / 491.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.1342, allocations: 8 kB / 491.1 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.1343, allocations: 4 kB / 491.1 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1343, allocations: 4 kB / 491.1 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.1343, allocations: 11.98 kB / 491.1 MB, free: 5.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1345, allocations: 123.2 kB / 491.2 MB, free: 5.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1345, allocations: 0 / 491.2 MB, free: 5.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00108/0.1355, allocations: 355.9 kB / 491.6 MB, free: 5.117 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.001279/0.1368, allocations: 366.5 kB / 491.9 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.1383, allocations: 1.593 MB / 493.5 MB, free: 3.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1383, allocations: 0 / 493.5 MB, free: 3.148 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.1394, allocations: 1.37 MB / 494.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.1397, allocations: 24.08 kB / 494.9 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1407, allocations: 0.7676 MB / 495.7 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1412, allocations: 0.7558 MB / 496.4 MB, free: 168 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.1412, allocations: 11.44 kB / 496.5 MB, free: 156 kB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1412, allocations: 0 / 496.5 MB, free: 156 kB / 330.7 MB Notification: Performance of Templates: time 0.01285/0.1541, allocations: 7.09 MB / 0.4917 GB, free: 9.051 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1)