Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002781/0.002781, allocations: 364.3 kB / 17.21 MB, free: 4.953 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.71/3.71, allocations: 388.9 MB / 406.8 MB, free: 11.92 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.003604/0.003604, allocations: 237.6 kB / 452.2 MB, free: 14.51 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.7432/0.7432, allocations: 76.02 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.000447, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.0901, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.5392, allocations: 90.94 MB / 0.763 GB, free: 81.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5396, allocations: 89.58 kB / 0.7631 GB, free: 81.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1929/0.7325, allocations: 54.28 MB / 0.8161 GB, free: 62.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.7326, allocations: 4 kB / 0.8161 GB, free: 62.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.7326, allocations: 16 kB / 0.8161 GB, free: 62.83 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002389/0.735, allocations: 1.007 MB / 0.8171 GB, free: 61.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7351, allocations: 8.031 kB / 0.8171 GB, free: 61.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.7403, allocations: 406.3 kB / 0.8175 GB, free: 61.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.7414, allocations: 483.3 kB / 0.818 GB, free: 60.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.7415, allocations: 57.69 kB / 0.818 GB, free: 60.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.7417, allocations: 72.27 kB / 0.8181 GB, free: 60.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.7444, allocations: 1.159 MB / 0.8192 GB, free: 59.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.7445, allocations: 3.984 kB / 0.8192 GB, free: 59.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.7446, allocations: 31.75 kB / 0.8193 GB, free: 59.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000479/0.7451, allocations: 105.9 kB / 0.8194 GB, free: 59.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.748, allocations: 1.187 MB / 0.8205 GB, free: 58.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00823/0.7562, allocations: 3.513 MB / 0.824 GB, free: 54.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.7588, allocations: 1.053 MB / 0.825 GB, free: 53.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.7602, allocations: 0.6468 MB / 0.8256 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.7603, allocations: 20.66 kB / 0.8256 GB, free: 52.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.7604, allocations: 43.56 kB / 0.8257 GB, free: 52.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.497e-06/0.7604, allocations: 0 / 0.8257 GB, free: 52.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.01078/0.7712, allocations: 3.052 MB / 0.8287 GB, free: 49.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.7713, allocations: 90.11 kB / 0.8287 GB, free: 49.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.7718, allocations: 357.6 kB / 0.8291 GB, free: 49.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.7719, allocations: 41.7 kB / 0.8291 GB, free: 49.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.7721, allocations: 316.2 kB / 0.8294 GB, free: 49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.7724, allocations: 318.8 kB / 0.8297 GB, free: 48.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.7725, allocations: 16 kB / 0.8297 GB, free: 48.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7726, allocations: 378.7 kB / 0.8301 GB, free: 48.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009876/0.7736, allocations: 437.7 kB / 0.8305 GB, free: 47.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.7747, allocations: 0.5422 MB / 0.8311 GB, free: 47.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.7758, allocations: 0.5105 MB / 0.8316 GB, free: 46.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7759, allocations: 0 / 0.8316 GB, free: 46.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003666/0.7795, allocations: 1.419 MB / 0.8329 GB, free: 45.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7796, allocations: 4 kB / 0.8329 GB, free: 45.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.7796, allocations: 4 kB / 0.8329 GB, free: 45.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.7811, allocations: 335.1 kB / 0.8333 GB, free: 45.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.7827, allocations: 187.7 kB / 0.8334 GB, free: 44.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007321/0.79, allocations: 3.908 MB / 0.8373 GB, free: 40.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.7912, allocations: 67.83 kB / 0.8373 GB, free: 40.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.7914, allocations: 27.98 kB / 0.8374 GB, free: 40.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006964/0.7921, allocations: 297.6 kB / 0.8376 GB, free: 40.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.7923, allocations: 59.3 kB / 0.8377 GB, free: 40.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.7963, allocations: 1.532 MB / 0.8392 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.7964, allocations: 12 kB / 0.8392 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.7964, allocations: 4 kB / 0.8392 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.7964, allocations: 3.984 kB / 0.8392 GB, free: 38.77 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 postOpt removeSimpleEquations (simulation): time 0.007438/0.8039, allocations: 3 MB / 0.8421 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.8039, allocations: 7.953 kB / 0.8421 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.8052, allocations: 171.7 kB / 0.8423 GB, free: 35.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.8065, allocations: 285 kB / 0.8426 GB, free: 35.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.8067, allocations: 23.98 kB / 0.8426 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/0.8134, allocations: 3.613 MB / 0.8461 GB, free: 31.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.8135, allocations: 7.938 kB / 0.8461 GB, free: 31.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.8171, allocations: 1.549 MB / 0.8477 GB, free: 29.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.8174, allocations: 144.3 kB / 0.8478 GB, free: 29.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.8175, allocations: 23.98 kB / 0.8478 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/0.8184, allocations: 47.95 kB / 0.8479 GB, free: 29.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.8186, allocations: 80.78 kB / 0.8479 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/0.8187, allocations: 36 kB / 0.848 GB, free: 29.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003751/0.8191, allocations: 255.1 kB / 0.8482 GB, free: 29.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.8191, allocations: 0 / 0.8482 GB, free: 29.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00133/0.8204, allocations: 320 kB / 0.8485 GB, free: 28.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002233/0.8207, allocations: 135 kB / 0.8487 GB, free: 28.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.8237, allocations: 1.34 MB / 0.85 GB, free: 27.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.8238, allocations: 0 / 0.85 GB, free: 27.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.8256, allocations: 0.8288 MB / 0.8508 GB, free: 26.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.8267, allocations: 106.3 kB / 0.8509 GB, free: 26.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.831, allocations: 2.113 MB / 0.8529 GB, free: 24.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.8318, allocations: 1.087 MB / 0.854 GB, free: 23.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008225/0.8326, allocations: 180.6 kB / 0.8542 GB, free: 22.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.833, allocations: 63.42 kB / 0.8542 GB, free: 22.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/0.833, allocations: 0 / 0.8542 GB, free: 22.93 MB / 442.7 MB Notification: Performance of Templates: time 0.02277/0.8558, allocations: 9.011 MB / 0.863 GB, free: 14.03 MB / 442.7 MB