Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.001546, allocations: 183.1 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, 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.001146/0.001145, allocations: 90.86 kB / 270.2 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.2748/0.2748, allocations: 38.05 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004773, allocations: 12 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.007077/0.1198, allocations: 4.315 MB / 483.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1239, allocations: 1.56 MB / 484.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.1244, allocations: 23.81 kB / 484.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1247, allocations: 75.5 kB / 485 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009138/0.1257, allocations: 211.4 kB / 485.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1267, allocations: 231.4 kB / 485.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005586/0.1273, allocations: 279.8 kB / 485.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1285, allocations: 0.5153 MB / 486.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.1289, allocations: 171.4 kB / 486.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.1294, allocations: 199.4 kB / 486.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.53e-05/0.1295, allocations: 19.94 kB / 486.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.1299, allocations: 91.84 kB / 486.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.1302, allocations: 187.6 kB / 486.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1303, allocations: 109.5 kB / 487 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.131, allocations: 423 kB / 487.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1311, allocations: 0 / 487.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1311, allocations: 0 / 487.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1311, allocations: 0 / 487.4 MB, free: 9.602 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001608/0.1327, allocations: 0.6646 MB / 488.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1328, allocations: 8.031 kB / 488.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008663/0.1336, allocations: 91.38 kB / 488.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000922/0.1346, allocations: 374.2 kB / 488.5 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.1346, allocations: 33 kB / 488.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.1348, allocations: 47.89 kB / 488.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.1362, allocations: 0.617 MB / 489.2 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.1363, allocations: 4 kB / 489.2 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/0.1364, allocations: 20 kB / 489.2 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/0.1366, allocations: 32.98 kB / 489.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.1378, allocations: 471.5 kB / 489.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005099/0.1429, allocations: 2.891 MB / 492.6 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.1436, allocations: 229 kB / 492.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.1437, allocations: 7.984 kB / 492.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.1437, allocations: 50.5 kB / 492.9 MB, free: 3.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.445e-06/0.1437, allocations: 0 / 492.9 MB, free: 3.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.002426/0.1462, allocations: 0.942 MB / 493.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.1463, allocations: 85.05 kB / 493.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.1468, allocations: 320.4 kB / 494.2 MB, free: 2.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.1469, allocations: 33.7 kB / 494.3 MB, free: 2.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.1471, allocations: 325.9 kB / 494.6 MB, free: 1.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1473, allocations: 110.5 kB / 494.7 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.1473, allocations: 8 kB / 494.7 MB, free: 1.852 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1475, allocations: 334.8 kB / 495 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.1479, allocations: 141 kB / 495.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.1485, allocations: 331.2 kB / 495.5 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.149, allocations: 207.9 kB / 495.7 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1491, allocations: 0 / 495.7 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001223/0.1503, allocations: 0.5009 MB / 496.2 MB, free: 260 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.1503, allocations: 11.95 kB / 496.2 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.1504, allocations: 8 kB / 496.2 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/0.1504, allocations: 8 kB / 496.2 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.1512, allocations: 128.4 kB / 496.4 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.1513, allocations: 11.94 kB / 496.4 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.1517, allocations: 39.91 kB / 496.4 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.1518, allocations: 20 kB / 496.4 MB, free: 32 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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.0004092/0.1522, allocations: 209.6 kB / 496.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/0.1523, allocations: 31.62 kB / 496.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.1533, allocations: 366 kB / 497 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.1533, allocations: 4 kB / 497 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1533, allocations: 4 kB / 497 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.1534, allocations: 3.984 kB / 497 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.1556, allocations: 0.8681 MB / 497.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.1556, allocations: 4 kB / 497.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/0.1563, allocations: 63.89 kB / 498 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.1564, allocations: 8.094 kB / 498 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.1564, allocations: 8 kB / 498 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.1564, allocations: 7.938 kB / 498 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1564, allocations: 0 / 498 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.1578, allocations: 0.6228 MB / 498.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.158, allocations: 104.7 kB / 498.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.1581, allocations: 11.95 kB / 498.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.1584, allocations: 11.98 kB / 498.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.1585, allocations: 23.91 kB / 498.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.1585, allocations: 12 kB / 498.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003669/0.1589, allocations: 219 kB / 499 MB, free: 13.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1589, allocations: 0 / 499 MB, free: 13.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006886/0.1596, allocations: 92 kB / 499.1 MB, free: 13.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001671/0.1598, allocations: 103.2 kB / 499.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009951/0.1608, allocations: 364.4 kB / 499.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1608, allocations: 0 / 499.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.1612, allocations: 139.8 kB / 499.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.1619, allocations: 66.31 kB / 499.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.1648, allocations: 1.271 MB / 0.4893 GB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.1655, allocations: 0.8705 MB / 0.4901 GB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.1657, allocations: 31.44 kB / 0.4901 GB, free: 10.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1657, allocations: 0 / 0.4901 GB, free: 10.32 MB / 346.7 MB Notification: Performance of Templates: time 0.01221/0.1779, allocations: 4.802 MB / 0.4948 GB, free: 5.508 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)