Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001277, allocations: 177.4 kB / 15.78 MB, free: 6.352 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.727/1.727, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.0007226/0.0007226, allocations: 90.3 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1876/0.1876, allocations: 38.07 MB / 356.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 12 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1176, allocations: 56.34 MB / 479.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002537/0.1202, allocations: 1.771 MB / 480.8 MB, free: 228 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1231, allocations: 1.932 MB / 482.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.1232, allocations: 3.938 kB / 482.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1234, allocations: 11.92 kB / 482.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.1235, allocations: 35.83 kB / 482.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.125, allocations: 0.6397 MB / 483.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1252, allocations: 103.6 kB / 483.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.1252, allocations: 192 / 483.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.1253, allocations: 31.84 kB / 483.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.1254, allocations: 35.84 kB / 483.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1254, allocations: 11.98 kB / 483.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.1269, allocations: 1.057 MB / 484.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.1269, allocations: 8 kB / 484.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.127, allocations: 33.64 kB / 484.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009934/0.128, allocations: 0.9008 MB / 485.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.128, allocations: 4 kB / 485.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.128, allocations: 0 / 485.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.128, allocations: 4 kB / 485.6 MB, free: 11.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00059/0.1286, allocations: 0.4967 MB / 486.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1287, allocations: 8.031 kB / 486.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1287, allocations: 7.906 kB / 486.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1289, allocations: 178.9 kB / 486.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1289, allocations: 4 kB / 486.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1289, allocations: 0 / 486.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1291, allocations: 57.61 kB / 486.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1291, allocations: 0 / 486.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1291, allocations: 4 kB / 486.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1291, allocations: 3.953 kB / 486.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.1292, allocations: 23.98 kB / 486.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1293, allocations: 161.7 kB / 486.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.924e-05/0.1294, allocations: 46.56 kB / 486.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.1294, allocations: 36.81 kB / 486.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.1295, allocations: 0 / 486.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1295, allocations: 38.56 kB / 486.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.1295, allocations: 0 / 486.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002944/0.1298, allocations: 151.4 kB / 486.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.1299, allocations: 89.06 kB / 486.9 MB, free: 9.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.13, allocations: 121.8 kB / 487.1 MB, free: 9.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.13, allocations: 25.7 kB / 487.1 MB, free: 9.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.13, allocations: 92.14 kB / 487.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.1301, allocations: 23.55 kB / 487.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.1301, allocations: 8 kB / 487.2 MB, free: 9.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1302, allocations: 314.9 kB / 487.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.1302, allocations: 27.92 kB / 487.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/0.1303, allocations: 28.16 kB / 487.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.1304, allocations: 69.73 kB / 487.6 MB, free: 9.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1304, allocations: 0 / 487.6 MB, free: 9.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001406/0.1305, allocations: 119.3 kB / 487.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.1306, allocations: 45.69 kB / 487.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1306, allocations: 0 / 487.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1306, allocations: 3.938 kB / 487.8 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.1306, allocations: 4.062 kB / 487.8 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1306, allocations: 0 / 487.8 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.1307, allocations: 7.953 kB / 487.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.1307, allocations: 3.984 kB / 487.8 MB, free: 8.973 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.0001221/0.1308, allocations: 155.5 kB / 488 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.1308, allocations: 11.89 kB / 488 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.1309, allocations: 16.36 kB / 488 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1309, allocations: 0 / 488 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1309, allocations: 0 / 488 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1309, allocations: 4 kB / 488 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.131, allocations: 169.5 kB / 488.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.131, allocations: 7.938 kB / 488.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.131, allocations: 0 / 488.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.131, allocations: 0 / 488.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1311, allocations: 4 kB / 488.2 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1311, allocations: 3.984 kB / 488.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1311, allocations: 0 / 488.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1313, allocations: 222.6 kB / 488.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.1314, allocations: 81.02 kB / 488.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1314, allocations: 11.98 kB / 488.5 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.1314, allocations: 0 / 488.5 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.1315, allocations: 4 kB / 488.5 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1315, allocations: 4 kB / 488.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.424e-05/0.1315, allocations: 94.77 kB / 488.6 MB, free: 8.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1315, allocations: 0 / 488.6 MB, free: 8.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007085/0.1323, allocations: 319.9 kB / 488.9 MB, free: 7.781 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.0007945/0.1331, allocations: 366.3 kB / 489.3 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1333, allocations: 195.3 kB / 489.4 MB, free: 7.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1333, allocations: 0 / 489.4 MB, free: 7.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1335, allocations: 151.4 kB / 489.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.1337, allocations: 11.89 kB / 489.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.1341, allocations: 300.2 kB / 489.9 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1344, allocations: 0.7004 MB / 490.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.1344, allocations: 7.438 kB / 490.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1344, allocations: 4 kB / 490.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of Templates: time 0.008886/0.1433, allocations: 5.775 MB / 496.4 MB, free: 196 kB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1)