Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001204/0.001204, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.165/1.165, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001465/0.001465, allocations: 125.2 kB / 256.6 MB, free: 4.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1612/0.1612, allocations: 37.96 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08369, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.00526/0.08899, allocations: 5.068 MB / 459.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.09107, allocations: 1.656 MB / 460.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.0913, allocations: 27.81 kB / 460.7 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.09213, allocations: 362.6 kB / 461.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.09249, allocations: 219 kB / 461.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.09299, allocations: 207.6 kB / 461.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.09351, allocations: 0.8381 MB / 462.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.09388, allocations: 268.6 kB / 462.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.0941, allocations: 219 kB / 462.8 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.09443, allocations: 319 kB / 463.1 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.09448, allocations: 20 kB / 463.2 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.09471, allocations: 147.7 kB / 463.3 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.09486, allocations: 211.5 kB / 463.5 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.09502, allocations: 230.8 kB / 463.7 MB, free: 6.785 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.0954, allocations: 0.549 MB / 464.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.09541, allocations: 0 / 464.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09542, allocations: 0 / 464.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.09543, allocations: 0 / 464.3 MB, free: 6.234 MB / 314.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.000941/0.09637, allocations: 0.7389 MB / 465 MB, free: 5.445 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.09641, allocations: 8.031 kB / 465 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.09687, allocations: 80.33 kB / 465.1 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.09737, allocations: 387.2 kB / 465.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.0974, allocations: 37.36 kB / 465.5 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.09751, allocations: 43.94 kB / 465.6 MB, free: 4.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.09811, allocations: 0.6248 MB / 466.2 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.09814, allocations: 3.938 kB / 466.2 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.09818, allocations: 16 kB / 466.2 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.445e-05/0.09828, allocations: 28.98 kB / 466.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005447/0.09883, allocations: 483.5 kB / 466.7 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.101, allocations: 2.895 MB / 469.6 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1013, allocations: 233 kB / 469.8 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1015, allocations: 141.7 kB / 470 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1015, allocations: 8.438 kB / 470 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.1016, allocations: 42.48 kB / 470 MB, free: 160 kB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.443e-06/0.1016, allocations: 0 / 470 MB, free: 160 kB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001347/0.1029, allocations: 0.9632 MB / 471 MB, free: 15.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.103, allocations: 85.23 kB / 471.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.1033, allocations: 328.3 kB / 471.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1033, allocations: 29.7 kB / 471.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.1035, allocations: 279.2 kB / 471.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.1036, allocations: 94.66 kB / 471.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1037, allocations: 94.16 kB / 471.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1038, allocations: 350.7 kB / 472.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.104, allocations: 149 kB / 472.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.1043, allocations: 339.3 kB / 472.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.1049, allocations: 0.5285 MB / 473.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1049, allocations: 0 / 473.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007153/0.1056, allocations: 0.528 MB / 473.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1057, allocations: 8 kB / 473.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1057, allocations: 8 kB / 473.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1057, allocations: 12.78 kB / 473.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.1061, allocations: 119.8 kB / 473.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.1061, allocations: 15.92 kB / 473.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.1064, allocations: 31.98 kB / 473.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.1064, allocations: 20 kB / 474 MB, free: 11.91 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.1066, allocations: 217.5 kB / 474.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.1067, allocations: 35.56 kB / 474.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005587/0.1072, allocations: 358.7 kB / 474.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1072, allocations: 7.984 kB / 474.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1073, allocations: 3.938 kB / 474.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1073, allocations: 4 kB / 474.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.1085, allocations: 0.8754 MB / 475.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1085, allocations: 4 kB / 475.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.1088, allocations: 71.98 kB / 475.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1089, allocations: 4 kB / 475.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1089, allocations: 11.94 kB / 475.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1089, allocations: 0 / 475.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1089, allocations: 4 kB / 475.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.1111, allocations: 2.028 MB / 477.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.1112, allocations: 116.6 kB / 477.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.1113, allocations: 8 kB / 477.7 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1114, allocations: 12.03 kB / 477.7 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1115, allocations: 20 kB / 477.7 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.1115, allocations: 12 kB / 477.7 MB, free: 7.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1117, allocations: 219 kB / 477.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1117, allocations: 0 / 477.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000539/0.1123, allocations: 123.9 kB / 478.1 MB, free: 7.547 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.1124, allocations: 111.3 kB / 478.2 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.1129, allocations: 360.7 kB / 478.5 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1129, allocations: 0.5625 kB / 478.5 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.1131, allocations: 148.8 kB / 478.7 MB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.1137, allocations: 65.5 kB / 478.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.1153, allocations: 1.393 MB / 480.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1157, allocations: 0.8623 MB / 481 MB, free: 4.535 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003445/0.1161, allocations: 135.1 kB / 481.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1162, allocations: 31.44 kB / 481.2 MB, free: 4.367 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1162, allocations: 0 / 481.2 MB, free: 4.367 MB / 330.7 MB Notification: Performance of Templates: time 0.006756/0.123, allocations: 3.472 MB / 484.6 MB, free: 0.8906 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)