Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002576/0.002581, allocations: 362.9 kB / 17.22 MB, free: 4.926 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 3.874/3.874, allocations: 388.9 MB / 406.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003528/0.003528, allocations: 237.6 kB / 452.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.8189/0.8189, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.000443, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.09292, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007849/0.1008, allocations: 6.759 MB / 0.6808 GB, free: 54.04 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007349/0.1082, allocations: 4.19 MB / 0.6849 GB, free: 49.83 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006065/0.1089, allocations: 15.94 kB / 0.6849 GB, free: 49.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.1093, allocations: 135 kB / 0.6851 GB, free: 49.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.1126, allocations: 0.9103 MB / 0.6859 GB, free: 48.77 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1138, allocations: 259.2 kB / 0.6862 GB, free: 48.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.1161, allocations: 1.897 MB / 0.688 GB, free: 46.61 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.1191, allocations: 1.275 MB / 0.6893 GB, free: 45.31 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.1203, allocations: 497.7 kB / 0.6898 GB, free: 44.82 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.1216, allocations: 0.7323 MB / 0.6905 GB, free: 44.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.1217, allocations: 40 kB / 0.6905 GB, free: 44.05 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.1244, allocations: 0.9232 MB / 0.6914 GB, free: 43.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007978/0.1253, allocations: 0.5807 MB / 0.692 GB, free: 42.54 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.1256, allocations: 221.1 kB / 0.6922 GB, free: 42.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.1282, allocations: 1.348 MB / 0.6935 GB, free: 40.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1282, allocations: 0 / 0.6935 GB, free: 40.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1282, allocations: 0 / 0.6935 GB, free: 40.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.1283, allocations: 0 / 0.6935 GB, free: 40.97 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002531/0.1308, allocations: 1.166 MB / 0.6947 GB, free: 39.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1309, allocations: 12.02 kB / 0.6947 GB, free: 39.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006762/0.1377, allocations: 0.6424 MB / 0.6953 GB, free: 39.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.1391, allocations: 0.5471 MB / 0.6958 GB, free: 38.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.1392, allocations: 69.94 kB / 0.6959 GB, free: 38.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.1395, allocations: 91.89 kB / 0.696 GB, free: 38.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/0.1428, allocations: 1.461 MB / 0.6974 GB, free: 36.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.1429, allocations: 4 kB / 0.6974 GB, free: 36.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.1431, allocations: 39.98 kB / 0.6975 GB, free: 36.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/0.1433, allocations: 98 kB / 0.6975 GB, free: 36.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003814/0.1471, allocations: 1.48 MB / 0.699 GB, free: 35.22 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.1585, allocations: 4.872 MB / 0.7038 GB, free: 30.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/0.1614, allocations: 1.155 MB / 0.7049 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.1632, allocations: 0.7497 MB / 0.7056 GB, free: 28.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.1634, allocations: 13.06 kB / 0.7056 GB, free: 28.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1634, allocations: 51.55 kB / 0.7057 GB, free: 28.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=107): time 4.899e-06/0.1634, allocations: 4 kB / 0.7057 GB, free: 28.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.01255/0.176, allocations: 3.603 MB / 0.7092 GB, free: 24.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1761, allocations: 90.11 kB / 0.7093 GB, free: 24.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006968/0.1768, allocations: 469.7 kB / 0.7097 GB, free: 23.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002372/0.1771, allocations: 41.7 kB / 0.7098 GB, free: 23.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.1773, allocations: 427.5 kB / 0.7102 GB, free: 23.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/0.1778, allocations: 370.6 kB / 0.7105 GB, free: 23.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.1779, allocations: 24 kB / 0.7106 GB, free: 23.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1781, allocations: 382.8 kB / 0.7109 GB, free: 22.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.1795, allocations: 0.5179 MB / 0.7114 GB, free: 22.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.181, allocations: 0.7422 MB / 0.7121 GB, free: 21.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.1827, allocations: 0.6432 MB / 0.7128 GB, free: 20.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.1828, allocations: 0 / 0.7128 GB, free: 20.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00491/0.1877, allocations: 1.782 MB / 0.7145 GB, free: 18.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.1878, allocations: 4 kB / 0.7145 GB, free: 18.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.1878, allocations: 8 kB / 0.7145 GB, free: 18.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.1896, allocations: 409.4 kB / 0.7149 GB, free: 18.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.1915, allocations: 231.6 kB / 0.7151 GB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009451/0.201, allocations: 5.61 MB / 0.7206 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.2024, allocations: 71.86 kB / 0.7207 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.2025, allocations: 48.05 kB / 0.7207 GB, free: 12.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007478/0.2033, allocations: 357.4 kB / 0.7211 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.2035, allocations: 75.06 kB / 0.7211 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0046/0.2081, allocations: 1.779 MB / 0.7229 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/0.2082, allocations: 11.92 kB / 0.7229 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2082, allocations: 0 / 0.7229 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.2085, allocations: 156.2 kB / 0.723 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.2087, allocations: 20 kB / 0.7231 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/0.2097, allocations: 59.92 kB / 0.7231 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.21, allocations: 96.83 kB / 0.7232 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006027/0.216, allocations: 2.009 MB / 0.7252 GB, free: 7.602 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004201/0.2203, allocations: 2.173 MB / 0.7273 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001234/0.2216, allocations: 0.6011 MB / 0.7279 GB, free: 4.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004901/0.2221, allocations: 327.1 kB / 0.7282 GB, free: 4.496 MB / 442.7 MB Notification: Performance of Backend: time 1.082e-06/0.2221, allocations: 0 / 0.7282 GB, free: 4.496 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004577/0.2267, allocations: 1.528 MB / 0.7297 GB, free: 2.934 MB / 442.7 MB Notification: Performance of SimCode: time 0.00407/0.2308, allocations: 2.697 MB / 0.7323 GB, free: 192 kB / 442.7 MB Notification: Performance of Templates: time 0.3328/0.5637, allocations: 17.93 MB / 0.7498 GB, free: 125 MB / 442.7 MB