Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001017, allocations: 173.9 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.606/1.606, 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.0008523/0.0008527, allocations: 98.22 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.1709/0.1709, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 16 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 56.33 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.0024/0.1137, allocations: 1.775 MB / 480.8 MB, free: 256 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1165, allocations: 1.944 MB / 482.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.1165, allocations: 0 / 482.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1167, allocations: 7.922 kB / 482.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.1168, allocations: 23.89 kB / 482.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.1184, allocations: 0.6514 MB / 483.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1185, allocations: 95.64 kB / 483.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.097e-05/0.1186, allocations: 12.11 kB / 483.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.1187, allocations: 31.86 kB / 483.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.1188, allocations: 51.83 kB / 483.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1188, allocations: 4 kB / 483.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.1203, allocations: 1.057 MB / 484.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.1204, allocations: 35.89 kB / 484.7 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.1204, allocations: 37.64 kB / 484.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009891/0.1214, allocations: 0.9164 MB / 485.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1214, allocations: 0 / 485.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1214, allocations: 0 / 485.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1214, allocations: 8 kB / 485.7 MB, free: 11.36 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006527/0.1221, allocations: 0.5511 MB / 486.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1221, allocations: 8.031 kB / 486.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.1222, allocations: 11.81 kB / 486.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1224, allocations: 198.8 kB / 486.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.1224, allocations: 0 / 486.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1225, allocations: 8 kB / 486.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1226, allocations: 93.52 kB / 486.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1227, allocations: 0 / 486.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1227, allocations: 4 kB / 486.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1227, allocations: 3.953 kB / 486.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.007e-05/0.1228, allocations: 63.97 kB / 486.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.123, allocations: 193.3 kB / 486.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1231, allocations: 102.5 kB / 486.9 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1232, allocations: 88.86 kB / 487 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.1232, allocations: 0 / 487 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1232, allocations: 38.56 kB / 487.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.152e-06/0.1232, allocations: 0 / 487.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.000457/0.1237, allocations: 319 kB / 487.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.1238, allocations: 97.05 kB / 487.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1239, allocations: 155.1 kB / 487.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1239, allocations: 29.7 kB / 487.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.124, allocations: 100.6 kB / 487.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.1241, allocations: 74.81 kB / 487.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1241, allocations: 4.031 kB / 487.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1242, allocations: 326.8 kB / 488.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.1243, allocations: 59.97 kB / 488.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.1244, allocations: 60.78 kB / 488.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1245, allocations: 125.7 kB / 488.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1245, allocations: 0 / 488.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002654/0.1248, allocations: 235 kB / 488.6 MB, free: 8.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.1249, allocations: 65.66 kB / 488.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1249, allocations: 7.875 kB / 488.7 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1249, allocations: 4 kB / 488.7 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.1249, allocations: 4 kB / 488.7 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1249, allocations: 3.984 kB / 488.7 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.125, allocations: 11.89 kB / 488.7 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.125, allocations: 8 kB / 488.7 MB, free: 8.102 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.0001615/0.1252, allocations: 195.4 kB / 488.9 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1252, allocations: 15.81 kB / 488.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.1253, allocations: 13.19 kB / 488.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1253, allocations: 3.984 kB / 488.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1253, allocations: 4 kB / 488.9 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1253, allocations: 0 / 488.9 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1255, allocations: 209.4 kB / 489.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1255, allocations: 0 / 489.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-07/0.1255, allocations: 0 / 489.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1255, allocations: 0 / 489.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1255, allocations: 4 kB / 489.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1255, allocations: 0 / 489.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1255, allocations: 3.984 kB / 489.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.1261, allocations: 0.5218 MB / 489.7 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.1262, allocations: 92.86 kB / 489.8 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1262, allocations: 4 kB / 489.8 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.976e-05/0.1263, allocations: 4 kB / 489.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1263, allocations: 7.984 kB / 489.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1263, allocations: 12 kB / 489.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.945e-05/0.1264, allocations: 115.1 kB / 489.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1264, allocations: 0 / 489.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007731/0.1272, allocations: 331.9 kB / 490.2 MB, free: 6.48 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.0008376/0.128, allocations: 370.5 kB / 490.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.1288, allocations: 0.7061 MB / 491.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1288, allocations: 0 / 491.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.1293, allocations: 0.5696 MB / 491.9 MB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1295, allocations: 20.02 kB / 491.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/0.1302, allocations: 0.5404 MB / 492.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1305, allocations: 0.728 MB / 493.1 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.1305, allocations: 11.38 kB / 493.2 MB, free: 3.453 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1305, allocations: 0 / 493.2 MB, free: 3.453 MB / 330.7 MB Notification: Performance of Templates: time 0.01077/0.1413, allocations: 6.471 MB / 499.6 MB, free: 12.96 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1)