Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00222/0.00222, allocations: 185.7 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 86.64 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3437/0.3437, allocations: 37.99 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.714e-05, allocations: 0 / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1502, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6442, allocations: 94.93 MB / 0.548 GB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.6445, allocations: 86.38 kB / 0.548 GB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2252/0.8698, allocations: 57.22 MB / 0.6039 GB, free: 14.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.8698, allocations: 0 / 0.6039 GB, free: 14.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-05/0.8699, allocations: 16 kB / 0.6039 GB, free: 14.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003407/0.8733, allocations: 0.9955 MB / 0.6049 GB, free: 13.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.8734, allocations: 12.03 kB / 0.6049 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005872/0.8793, allocations: 430.4 kB / 0.6053 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.8809, allocations: 496.3 kB / 0.6058 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.881, allocations: 24 kB / 0.6058 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.8812, allocations: 47.94 kB / 0.6059 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002799/0.884, allocations: 0.9409 MB / 0.6068 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.8869, allocations: 1.078 MB / 0.6078 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.887, allocations: 3.938 kB / 0.6078 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.8872, allocations: 7.891 kB / 0.6078 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005299/0.8877, allocations: 113.9 kB / 0.608 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.8978, allocations: 3.557 MB / 0.6114 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.9011, allocations: 1.032 MB / 0.6124 GB, free: 5.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.9027, allocations: 0.5901 MB / 0.613 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.9029, allocations: 20.39 kB / 0.613 GB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.903, allocations: 43.34 kB / 0.6131 GB, free: 4.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 4.518e-06/0.903, allocations: 0 / 0.6131 GB, free: 4.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.006347/0.9094, allocations: 1.903 MB / 0.6149 GB, free: 3.066 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.9095, allocations: 89.83 kB / 0.615 GB, free: 2.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.9101, allocations: 306.2 kB / 0.6153 GB, free: 2.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/0.9104, allocations: 25.7 kB / 0.6153 GB, free: 2.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.9107, allocations: 374.4 kB / 0.6157 GB, free: 2.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005853/0.9113, allocations: 303.5 kB / 0.616 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.9114, allocations: 0 / 0.616 GB, free: 1.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.9116, allocations: 346.8 kB / 0.6163 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.9128, allocations: 418.5 kB / 0.6167 GB, free: 1.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.9141, allocations: 0.5205 MB / 0.6172 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.9156, allocations: 0.502 MB / 0.6177 GB, free: 148 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.9156, allocations: 0 / 0.6177 GB, free: 148 kB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00426/0.9199, allocations: 1.321 MB / 0.619 GB, free: 14.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.92, allocations: 8 kB / 0.619 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.92, allocations: 0 / 0.619 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.9216, allocations: 312.1 kB / 0.6193 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.9234, allocations: 191.7 kB / 0.6195 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.9319, allocations: 3.758 MB / 0.6232 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.9331, allocations: 47.92 kB / 0.6232 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.9332, allocations: 31.98 kB / 0.6232 GB, free: 10.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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.0002576/0.9335, allocations: 116.7 kB / 0.6233 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.9337, allocations: 67.25 kB / 0.6234 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.9379, allocations: 1.419 MB / 0.6248 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.938, allocations: 12 kB / 0.6248 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.938, allocations: 4 kB / 0.6248 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.9381, allocations: 7.922 kB / 0.6248 GB, free: 8.695 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008758/0.9468, allocations: 2.769 MB / 0.6275 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.9469, allocations: 32 / 0.6275 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.9483, allocations: 179.8 kB / 0.6277 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.9498, allocations: 272.6 kB / 0.628 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.9499, allocations: 7.984 kB / 0.628 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007741/0.9577, allocations: 3.488 MB / 0.6314 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.9578, allocations: 4 kB / 0.6314 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003974/0.9618, allocations: 1.645 MB / 0.633 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.9621, allocations: 152 kB / 0.6331 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.9623, allocations: 8 kB / 0.6331 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.9633, allocations: 43.88 kB / 0.6332 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.9636, allocations: 76.62 kB / 0.6332 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.9637, allocations: 27.98 kB / 0.6333 GB, free: 15.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004072/0.9641, allocations: 236.6 kB / 0.6335 GB, free: 15.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9641, allocations: 4 kB / 0.6335 GB, free: 15.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001514/0.9656, allocations: 284.2 kB / 0.6338 GB, free: 15.13 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 () * 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.0002695/0.9659, allocations: 111.1 kB / 0.6339 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003236/0.9692, allocations: 1.258 MB / 0.6351 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.9692, allocations: 0 / 0.6351 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.9713, allocations: 0.7744 MB / 0.6359 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.9722, allocations: 77.8 kB / 0.6359 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.9763, allocations: 1.514 MB / 0.6374 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.9774, allocations: 1.101 MB / 0.6385 GB, free: 10.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.9779, allocations: 59.42 kB / 0.6385 GB, free: 10.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9779, allocations: 0 / 0.6385 GB, free: 10.1 MB / 442.7 MB Notification: Performance of Templates: time 0.03254/1.01, allocations: 11.98 MB / 0.6502 GB, free: 14.11 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)