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.002704/0.002708, allocations: 361.6 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.716/3.716, allocations: 388.9 MB / 406.8 MB, free: 11.99 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.003559/0.003559, allocations: 231.8 kB / 452.2 MB, free: 14.6 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.7519/0.7519, allocations: 76.02 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004719, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09071, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.5537, allocations: 94.48 MB / 0.7665 GB, free: 81.76 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5541, allocations: 88.64 kB / 0.7666 GB, free: 81.76 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2124/0.7665, allocations: 59.33 MB / 0.8245 GB, free: 55.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7665, allocations: 0 / 0.8245 GB, free: 55.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.7666, allocations: 23.94 kB / 0.8245 GB, free: 55.04 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.003536/0.7701, allocations: 1.182 MB / 0.8257 GB, free: 53.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.7702, allocations: 16.03 kB / 0.8257 GB, free: 53.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/0.7766, allocations: 0.5002 MB / 0.8262 GB, free: 53.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.7782, allocations: 0.556 MB / 0.8267 GB, free: 52.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/0.7783, allocations: 65.69 kB / 0.8268 GB, free: 52.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.7786, allocations: 92.27 kB / 0.8269 GB, free: 52.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/0.7826, allocations: 1.465 MB / 0.8283 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.7827, allocations: 4 kB / 0.8283 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.7828, allocations: 39.52 kB / 0.8284 GB, free: 51.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005172/0.7834, allocations: 133.9 kB / 0.8285 GB, free: 50.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.7877, allocations: 1.48 MB / 0.8299 GB, free: 49.41 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.01259/0.8004, allocations: 4.859 MB / 0.8347 GB, free: 44.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.8033, allocations: 1.151 MB / 0.8358 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.805, allocations: 0.7609 MB / 0.8365 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.8052, allocations: 16.53 kB / 0.8366 GB, free: 42.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.8053, allocations: 47.56 kB / 0.8366 GB, free: 42.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=107): time 3.737e-06/0.8053, allocations: 0 / 0.8366 GB, free: 42.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.01367/0.8189, allocations: 3.713 MB / 0.8402 GB, free: 38.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.819, allocations: 94.05 kB / 0.8403 GB, free: 38.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.8198, allocations: 469.7 kB / 0.8408 GB, free: 38.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.82, allocations: 41.7 kB / 0.8408 GB, free: 38.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.8203, allocations: 427.2 kB / 0.8412 GB, free: 37.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.8208, allocations: 382 kB / 0.8416 GB, free: 37.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.743e-05/0.8209, allocations: 20 kB / 0.8416 GB, free: 37.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8211, allocations: 378.8 kB / 0.842 GB, free: 36.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.8223, allocations: 0.5218 MB / 0.8425 GB, free: 36.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.8238, allocations: 0.744 MB / 0.8432 GB, free: 35.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.8255, allocations: 0.6354 MB / 0.8438 GB, free: 34.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.8255, allocations: 4 kB / 0.8438 GB, free: 34.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005029/0.8306, allocations: 1.768 MB / 0.8455 GB, free: 33.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.8306, allocations: 11.95 kB / 0.8456 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.8307, allocations: 16.02 kB / 0.8456 GB, free: 33.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.8325, allocations: 406.6 kB / 0.846 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.8344, allocations: 231.6 kB / 0.8462 GB, free: 32.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009614/0.8441, allocations: 5.624 MB / 0.8517 GB, free: 26.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.8456, allocations: 75.83 kB / 0.8517 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8457, allocations: 43.98 kB / 0.8518 GB, free: 26.39 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.0008021/0.8465, allocations: 361.5 kB / 0.8521 GB, free: 26.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.8468, allocations: 71.16 kB / 0.8522 GB, free: 25.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004693/0.8515, allocations: 1.783 MB / 0.8539 GB, free: 24.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.8515, allocations: 12 kB / 0.8539 GB, free: 24.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.8516, allocations: 11.95 kB / 0.854 GB, free: 24.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.8516, allocations: 3.984 kB / 0.854 GB, free: 24.13 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.008739/0.8603, allocations: 3.443 MB / 0.8573 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.8604, allocations: 4 kB / 0.8573 GB, free: 20.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/0.8626, allocations: 179.8 kB / 0.8575 GB, free: 20.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.8643, allocations: 355.1 kB / 0.8578 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/0.8646, allocations: 28 kB / 0.8579 GB, free: 20.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008474/0.8731, allocations: 5.355 MB / 0.8631 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8732, allocations: 4 kB / 0.8631 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004206/0.8774, allocations: 1.78 MB / 0.8648 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.8777, allocations: 168 kB / 0.865 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.8779, allocations: 24 kB / 0.865 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009395/0.8788, allocations: 51.91 kB / 0.8651 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.8791, allocations: 88.88 kB / 0.8652 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.8792, allocations: 36 kB / 0.8652 GB, free: 12.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005068/0.8797, allocations: 323 kB / 0.8655 GB, free: 11.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-07/0.8797, allocations: 0 / 0.8655 GB, free: 11.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001813/0.8816, allocations: 412 kB / 0.8659 GB, free: 11.46 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003834/0.882, allocations: 143 kB / 0.866 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004115/0.8861, allocations: 1.707 MB / 0.8677 GB, free: 9.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.8862, allocations: 0 / 0.8677 GB, free: 9.586 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.8886, allocations: 1.07 MB / 0.8687 GB, free: 8.488 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.8899, allocations: 122.9 kB / 0.8689 GB, free: 8.371 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.8953, allocations: 2.58 MB / 0.8714 GB, free: 5.719 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009209/0.8963, allocations: 1.194 MB / 0.8725 GB, free: 4.496 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001108/0.8974, allocations: 241.4 kB / 0.8728 GB, free: 4.258 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.8978, allocations: 63.42 kB / 0.8728 GB, free: 4.195 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.8978, allocations: 0 / 0.8728 GB, free: 4.195 MB / 442.7 MB Notification: Performance of Templates: time 0.03144/0.9293, allocations: 11.12 MB / 0.8837 GB, free: 9.195 MB / 458.7 MB