Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.Frequency.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.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001408/0.001412, allocations: 186.1 kB / 16.38 MB, free: 5.598 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.795/1.795, allocations: 194.5 MB / 211.6 MB, free: 7.637 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.001887/0.001887, allocations: 108.7 kB / 256.9 MB, free: 10.26 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.2387/0.2387, allocations: 38.02 MB / 340.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004584, allocations: 11.97 kB / 403.8 MB, free: 55.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06785/0.06834, allocations: 53.23 MB / 457 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.00552/0.0739, allocations: 5.825 MB / 462.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.07617, allocations: 1.587 MB / 464.4 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.07656, allocations: 47.69 kB / 464.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.07681, allocations: 91.27 kB / 464.6 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007686/0.07759, allocations: 350.9 kB / 464.9 MB, free: 2.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.07805, allocations: 207.5 kB / 465.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.07851, allocations: 399.2 kB / 465.5 MB, free: 1.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.07874, allocations: 129 kB / 465.6 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.07907, allocations: 239.1 kB / 465.9 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.07944, allocations: 235.1 kB / 466.1 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.07951, allocations: 20 kB / 466.1 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.67e-05/0.0796, allocations: 16 kB / 466.1 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.07974, allocations: 131.6 kB / 466.2 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.07986, allocations: 113.5 kB / 466.4 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.0802, allocations: 359 kB / 466.7 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.441e-06/0.08021, allocations: 0 / 466.7 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.08023, allocations: 4 kB / 466.7 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.08025, allocations: 0 / 466.7 MB, free: 0.6562 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00115/0.08141, allocations: 0.7189 MB / 467.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.08146, allocations: 16.02 kB / 467.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.08158, allocations: 51.34 kB / 467.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/0.08236, allocations: 411.4 kB / 467.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.08242, allocations: 29 kB / 467.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.08251, allocations: 36 kB / 468 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/0.08339, allocations: 463.5 kB / 468.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.08342, allocations: 0 / 468.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.08348, allocations: 16 kB / 468.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.08351, allocations: 8 kB / 468.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.08421, allocations: 312.2 kB / 468.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.08689, allocations: 1.775 MB / 470.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.08719, allocations: 135.7 kB / 470.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.08723, allocations: 8.062 kB / 470.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.08728, allocations: 42.66 kB / 470.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.444e-06/0.08729, allocations: 0 / 470.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001211/0.08851, allocations: 0.5962 MB / 471.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.08861, allocations: 114.9 kB / 471.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.08915, allocations: 365.6 kB / 471.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.08918, allocations: 29.64 kB / 471.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.08944, allocations: 283.3 kB / 472.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.08952, allocations: 55.25 kB / 472.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.08955, allocations: 8 kB / 472.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.08975, allocations: 350.8 kB / 472.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.08989, allocations: 47.97 kB / 472.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.09015, allocations: 191.1 kB / 472.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.09035, allocations: 83.98 kB / 472.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.922e-06/0.09037, allocations: 4 kB / 472.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000585/0.09096, allocations: 288.6 kB / 473.1 MB, free: 9.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.091, allocations: 11.75 kB / 473.1 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.09102, allocations: 4 kB / 473.1 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.09105, allocations: 8.625 kB / 473.1 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.09138, allocations: 71.84 kB / 473.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.09141, allocations: 12 kB / 473.2 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.09165, allocations: 15.94 kB / 473.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.09169, allocations: 15.98 kB / 473.2 MB, free: 9.703 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0002517/0.09196, allocations: 177.7 kB / 473.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.09208, allocations: 43.52 kB / 473.4 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.09246, allocations: 164.7 kB / 473.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.865e-06/0.09249, allocations: 4 kB / 473.6 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.981e-06/0.0925, allocations: 4 kB / 473.6 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.356e-06/0.09251, allocations: 0 / 473.6 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.09342, allocations: 0.5264 MB / 474.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.09344, allocations: 0 / 474.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.09369, allocations: 39.92 kB / 474.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.995e-06/0.09371, allocations: 4 kB / 474.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.09374, allocations: 4 kB / 474.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.558e-06/0.09375, allocations: 0 / 474.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.596e-06/0.09377, allocations: 3.984 kB / 474.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.09436, allocations: 441.4 kB / 474.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.0945, allocations: 112.7 kB / 474.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.09457, allocations: 11.95 kB / 474.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.09481, allocations: 4.438 kB / 474.7 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.09486, allocations: 11.98 kB / 474.7 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.09489, allocations: 4 kB / 474.7 MB, free: 8.035 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003472/0.09525, allocations: 251.1 kB / 475 MB, free: 7.789 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.73e-07/0.09526, allocations: 4 kB / 475 MB, free: 7.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000552/0.09582, allocations: 72 kB / 475.1 MB, free: 7.715 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0001205/0.09595, allocations: 103.2 kB / 475.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.09632, allocations: 155.7 kB / 475.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.822e-06/0.09633, allocations: 0 / 475.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.09647, allocations: 57.83 kB / 475.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.09711, allocations: 90.09 kB / 475.5 MB, free: 7.309 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.09902, allocations: 1.069 MB / 476.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.09964, allocations: 0.8467 MB / 477.4 MB, free: 5.324 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.0999, allocations: 51.25 kB / 477.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.09999, allocations: 31.44 kB / 477.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of SimCode: time 1.354e-06/0.1, allocations: 0 / 477.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of Templates: time 0.009569/0.1096, allocations: 2.964 MB / 480.4 MB, free: 2.297 MB / 314.7 MB