Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001382/0.001382, allocations: 185.5 kB / 16.38 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.766/1.766, allocations: 194.5 MB / 211.6 MB, free: 7.52 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001876/0.001876, allocations: 120.6 kB / 256.9 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.3228/0.3228, allocations: 38.02 MB / 340.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004612, allocations: 22.53 kB / 403.8 MB, free: 55.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07178/0.07227, allocations: 53.24 MB / 457 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.00432/0.07664, allocations: 4.293 MB / 461.3 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.07908, allocations: 1.568 MB / 462.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.07935, allocations: 23.88 kB / 462.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.07955, allocations: 71.5 kB / 463 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.0801, allocations: 215.3 kB / 463.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.08073, allocations: 235.4 kB / 463.4 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.08107, allocations: 279.8 kB / 463.7 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008147/0.0819, allocations: 0.5114 MB / 464.2 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.08217, allocations: 179.3 kB / 464.4 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.08248, allocations: 199.4 kB / 464.6 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.08254, allocations: 16 kB / 464.6 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.08277, allocations: 91.86 kB / 464.7 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.08295, allocations: 187.6 kB / 464.9 MB, free: 2.445 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.08306, allocations: 105.5 kB / 465 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.08347, allocations: 427 kB / 465.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.53e-06/0.08349, allocations: 0 / 465.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.738e-06/0.0835, allocations: 0 / 465.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.08351, allocations: 0 / 465.4 MB, free: 1.918 MB / 298.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.0009858/0.08451, allocations: 0.6568 MB / 466 MB, free: 1.211 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.08456, allocations: 16.02 kB / 466 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.08518, allocations: 87.31 kB / 466.1 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.08578, allocations: 386.2 kB / 466.5 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.08583, allocations: 33 kB / 466.5 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.08596, allocations: 43.95 kB / 466.6 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.08691, allocations: 0.6132 MB / 467.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.08695, allocations: 0 / 467.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.08702, allocations: 19.98 kB / 467.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.08716, allocations: 32.98 kB / 467.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.08818, allocations: 475.5 kB / 467.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/0.09241, allocations: 2.884 MB / 470.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.09293, allocations: 232.7 kB / 470.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.09299, allocations: 8.062 kB / 470.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.09304, allocations: 35 kB / 470.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.908e-06/0.09305, allocations: 0 / 470.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002039/0.0951, allocations: 0.9616 MB / 471.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.09518, allocations: 81.11 kB / 471.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.09564, allocations: 320.4 kB / 472.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.09569, allocations: 29.7 kB / 472.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.09594, allocations: 275.3 kB / 472.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.09606, allocations: 106.4 kB / 472.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.0961, allocations: 8 kB / 472.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.0963, allocations: 342.8 kB / 473 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.09663, allocations: 145.1 kB / 473.1 MB, free: 9.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.09713, allocations: 343.2 kB / 473.4 MB, free: 9.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.0976, allocations: 203.8 kB / 473.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.09762, allocations: 0 / 473.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001126/0.09875, allocations: 0.5246 MB / 474.2 MB, free: 8.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.09879, allocations: 11.94 kB / 474.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.09882, allocations: 12 kB / 474.2 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.09885, allocations: 12 kB / 474.2 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.09941, allocations: 119.8 kB / 474.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.09946, allocations: 15.94 kB / 474.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.09978, allocations: 27.97 kB / 474.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.09984, allocations: 20 kB / 474.4 MB, free: 8.375 MB / 314.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.0003089/0.1002, allocations: 221.4 kB / 474.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.1003, allocations: 35.61 kB / 474.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007816/0.1011, allocations: 346.1 kB / 475 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.1011, allocations: 4 kB / 475 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.666e-06/0.1011, allocations: 0 / 475 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1011, allocations: 7.984 kB / 475 MB, free: 7.758 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.103, allocations: 0.8759 MB / 475.9 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.291e-06/0.103, allocations: 0 / 475.9 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.1034, allocations: 67.95 kB / 475.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.1035, allocations: 0 / 475.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.1035, allocations: 11.94 kB / 475.9 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.1035, allocations: 4 kB / 475.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.436e-06/0.1035, allocations: 0 / 475.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1046, allocations: 0.6267 MB / 476.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1048, allocations: 104.7 kB / 476.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.1048, allocations: 8 kB / 476.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1051, allocations: 19.91 kB / 476.7 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.1052, allocations: 19.97 kB / 476.7 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.1052, allocations: 8 kB / 476.7 MB, free: 5.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003087/0.1055, allocations: 219 kB / 476.9 MB, free: 5.664 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.59e-07/0.1055, allocations: 0 / 476.9 MB, free: 5.664 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000599/0.1061, allocations: 96 kB / 477 MB, free: 5.57 MB / 314.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.0001393/0.1063, allocations: 107.2 kB / 477.1 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007467/0.1071, allocations: 344.8 kB / 477.5 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.152e-06/0.1071, allocations: 0.5625 kB / 477.5 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.1074, allocations: 143.8 kB / 477.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.1079, allocations: 79.27 kB / 477.7 MB, free: 4.906 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.11, allocations: 1.215 MB / 478.9 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.1107, allocations: 0.8667 MB / 479.8 MB, free: 2.758 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004851/0.1112, allocations: 135.1 kB / 479.9 MB, free: 2.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.1113, allocations: 31.44 kB / 479.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of SimCode: time 1.43e-06/0.1114, allocations: 0 / 479.9 MB, free: 2.594 MB / 314.7 MB Notification: Performance of Templates: time 0.009715/0.1211, allocations: 3.021 MB / 483 MB, free: 15.58 MB / 330.7 MB