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.001742/0.001743, allocations: 176.9 kB / 15.78 MB, free: 6.348 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.805/1.805, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008013/0.0008012, allocations: 102.2 kB / 270.3 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1798/0.1798, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004148, allocations: 12 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 56.33 MB / 479.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004535/0.1183, allocations: 4.454 MB / 483.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1207, allocations: 1.552 MB / 485.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1209, allocations: 31.81 kB / 485.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1211, allocations: 75.39 kB / 485.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.1216, allocations: 250.7 kB / 485.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.1222, allocations: 235.6 kB / 485.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.1227, allocations: 0.6469 MB / 486.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007014/0.1234, allocations: 0.5036 MB / 486.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.1237, allocations: 203 kB / 487 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.1241, allocations: 291.1 kB / 487.3 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.1242, allocations: 20 kB / 487.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.1244, allocations: 95.84 kB / 487.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.1247, allocations: 207.5 kB / 487.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1248, allocations: 101.5 kB / 487.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.1252, allocations: 434.9 kB / 488.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1252, allocations: 0 / 488.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.749e-06/0.1252, allocations: 0 / 488.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.1253, allocations: 3.938 kB / 488.1 MB, free: 8.891 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.0009895/0.1263, allocations: 0.6568 MB / 488.8 MB, free: 8.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.341e-05/0.1263, allocations: 8.031 kB / 488.8 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.1268, allocations: 87.38 kB / 488.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.1273, allocations: 374.2 kB / 489.2 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.1274, allocations: 29 kB / 489.3 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.753e-05/0.1275, allocations: 51.88 kB / 489.3 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.1283, allocations: 0.6248 MB / 489.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1283, allocations: 3.938 kB / 489.9 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.1284, allocations: 20 kB / 490 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.1285, allocations: 32.98 kB / 490 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.1292, allocations: 471.5 kB / 490.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.1322, allocations: 2.895 MB / 493.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.1326, allocations: 236.9 kB / 493.6 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.1328, allocations: 145.7 kB / 493.7 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.1328, allocations: 11.94 kB / 493.7 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.1328, allocations: 34.5 kB / 493.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.966e-06/0.1329, allocations: 0 / 493.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001484/0.1343, allocations: 0.9694 MB / 494.7 MB, free: 1.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1344, allocations: 85.05 kB / 494.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.1347, allocations: 324.4 kB / 495.1 MB, free: 1.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.1348, allocations: 33.7 kB / 495.2 MB, free: 1.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1349, allocations: 263.3 kB / 495.4 MB, free: 1.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.242e-05/0.135, allocations: 114.5 kB / 495.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.135, allocations: 8 kB / 495.6 MB, free: 1.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1352, allocations: 342.8 kB / 495.9 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.1354, allocations: 145.1 kB / 496 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.1357, allocations: 347.2 kB / 496.4 MB, free: 108 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.1361, allocations: 203.8 kB / 496.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.1361, allocations: 0 / 496.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007293/0.1368, allocations: 0.5324 MB / 497.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1368, allocations: 4 kB / 497.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1369, allocations: 8 kB / 497.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.1369, allocations: 12 kB / 497.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.1373, allocations: 119.8 kB / 497.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.1373, allocations: 15.94 kB / 497.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1376, allocations: 23.98 kB / 497.3 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.1376, allocations: 27.98 kB / 497.3 MB, free: 15.16 MB / 346.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.0002069/0.1378, allocations: 213.7 kB / 497.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.1379, allocations: 35.58 kB / 497.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.1385, allocations: 358.1 kB / 497.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1385, allocations: 4 kB / 497.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1385, allocations: 0 / 497.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1385, allocations: 7.984 kB / 497.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.1398, allocations: 0.8798 MB / 498.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1398, allocations: 3.984 kB / 498.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.1401, allocations: 71.89 kB / 498.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1401, allocations: 0 / 498.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.1401, allocations: 8 kB / 498.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1401, allocations: 7.938 kB / 498.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1402, allocations: 0 / 498.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007057/0.1409, allocations: 0.581 MB / 499.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.1409, allocations: 108.7 kB / 499.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.141, allocations: 16.03 kB / 499.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1412, allocations: 8 kB / 499.6 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.1413, allocations: 19.97 kB / 499.6 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1413, allocations: 12 kB / 499.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.1415, allocations: 219 kB / 499.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1415, allocations: 0 / 499.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.1419, allocations: 92 kB / 499.9 MB, free: 12.41 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.000111/0.142, allocations: 107.1 kB / 0.4883 GB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.1426, allocations: 371.6 kB / 0.4887 GB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1426, allocations: 1.812 kB / 0.4887 GB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.1428, allocations: 147.8 kB / 0.4888 GB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.1433, allocations: 65.27 kB / 0.4889 GB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1449, allocations: 1.267 MB / 0.4901 GB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.1453, allocations: 0.8545 MB / 0.4909 GB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.1455, allocations: 39.42 kB / 0.491 GB, free: 9.492 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1455, allocations: 4 kB / 0.491 GB, free: 9.488 MB / 346.7 MB Notification: Performance of Templates: time 0.007557/0.153, allocations: 4.888 MB / 0.4958 GB, free: 4.594 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)