Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001415/0.00142, allocations: 184.8 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.779/1.779, 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.001867/0.001867, allocations: 124.6 kB / 256.9 MB, free: 10.14 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.2368/0.2368, allocations: 38.03 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004469, allocations: 16.81 kB / 403.8 MB, free: 55.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0689/0.06937, allocations: 53.23 MB / 457 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004355/0.07377, allocations: 4.301 MB / 461.3 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.07626, allocations: 1.564 MB / 462.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.07651, allocations: 23.88 kB / 462.9 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.0767, allocations: 71.52 kB / 463 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.07724, allocations: 215.3 kB / 463.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.0779, allocations: 231.4 kB / 463.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.07826, allocations: 295.8 kB / 463.7 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008279/0.0791, allocations: 0.5114 MB / 464.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.07937, allocations: 187.3 kB / 464.4 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.07971, allocations: 251.3 kB / 464.6 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.07979, allocations: 20 kB / 464.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.08011, allocations: 159.7 kB / 464.8 MB, free: 2.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.08031, allocations: 199.6 kB / 465 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.08042, allocations: 113.5 kB / 465.1 MB, free: 2.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.08091, allocations: 0.491 MB / 465.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.32e-06/0.08092, allocations: 0 / 465.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.757e-06/0.08093, allocations: 0 / 465.6 MB, free: 1.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.08095, allocations: 0 / 465.6 MB, free: 1.688 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001101/0.08207, allocations: 0.6919 MB / 466.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.08211, allocations: 12.02 kB / 466.3 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006412/0.08276, allocations: 91.28 kB / 466.4 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.08345, allocations: 406.1 kB / 466.8 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.08351, allocations: 28.98 kB / 466.8 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.08365, allocations: 43.95 kB / 466.9 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.08484, allocations: 0.6725 MB / 467.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.08488, allocations: 4 kB / 467.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.08496, allocations: 16 kB / 467.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002006/0.08517, allocations: 48.97 kB / 467.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.08659, allocations: 0.6596 MB / 468.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/0.09122, allocations: 2.517 MB / 470.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.09195, allocations: 333.3 kB / 471.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.09201, allocations: 12.03 kB / 471.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.09206, allocations: 42.5 kB / 471.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.929e-06/0.09208, allocations: 0 / 471.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.002833/0.09492, allocations: 1.495 MB / 472.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.095, allocations: 85.23 kB / 472.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.09544, allocations: 300.4 kB / 473 MB, free: 9.848 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.0955, allocations: 29.7 kB / 473.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.09573, allocations: 259.5 kB / 473.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.0959, allocations: 149.9 kB / 473.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.09594, allocations: 8 kB / 473.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.09615, allocations: 350.8 kB / 473.8 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.09657, allocations: 197 kB / 474 MB, free: 8.855 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.09713, allocations: 359.5 kB / 474.4 MB, free: 8.434 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.09767, allocations: 261.1 kB / 474.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.09769, allocations: 7.938 kB / 474.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001289/0.09899, allocations: 0.6071 MB / 475.2 MB, free: 7.559 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.09903, allocations: 8.688 kB / 475.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.09906, allocations: 11.94 kB / 475.3 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.09909, allocations: 15.95 kB / 475.3 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.09965, allocations: 115.8 kB / 475.4 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.09968, allocations: 11.94 kB / 475.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.1, allocations: 35.89 kB / 475.4 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.1001, allocations: 23.98 kB / 475.5 MB, free: 7.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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.0003113/0.1004, allocations: 213.6 kB / 475.7 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1005, allocations: 35.61 kB / 475.7 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.1016, allocations: 496.5 kB / 476.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/0.1016, allocations: 15.98 kB / 476.2 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.592e-06/0.1016, allocations: 7.953 kB / 476.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-06/0.1017, allocations: 0 / 476.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.104, allocations: 1.077 MB / 477.3 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.724e-06/0.104, allocations: 0 / 477.3 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.1045, allocations: 75.89 kB / 477.4 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.1045, allocations: 7.953 kB / 477.4 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.1045, allocations: 11.98 kB / 477.4 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.263e-06/0.1046, allocations: 0 / 477.4 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.54e-06/0.1046, allocations: 4 kB / 477.4 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.1061, allocations: 0.8507 MB / 478.2 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1062, allocations: 116.6 kB / 478.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.1063, allocations: 8 kB / 478.4 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.1066, allocations: 23.97 kB / 478.4 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.1067, allocations: 19.94 kB / 478.4 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.1067, allocations: 11.98 kB / 478.4 MB, free: 4.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002923/0.107, allocations: 211.1 kB / 478.6 MB, free: 4.031 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.107, allocations: 0 / 478.6 MB, free: 4.031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006144/0.1077, allocations: 112 kB / 478.7 MB, free: 3.922 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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0002142/0.1079, allocations: 123.1 kB / 478.8 MB, free: 3.789 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009492/0.1089, allocations: 480.4 kB / 479.3 MB, free: 3.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.345e-06/0.1089, allocations: 0 / 479.3 MB, free: 3.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.1093, allocations: 229.1 kB / 479.5 MB, free: 3.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.1098, allocations: 75.38 kB / 479.6 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.1122, allocations: 1.346 MB / 481 MB, free: 1.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.1128, allocations: 0.8828 MB / 481.8 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004671/0.1133, allocations: 127.2 kB / 482 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1135, allocations: 31.44 kB / 482 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of SimCode: time 1.466e-06/0.1135, allocations: 4 kB / 482 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of Templates: time 0.0105/0.124, allocations: 3.535 MB / 485.5 MB, free: 13.04 MB / 330.7 MB