Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002025/0.002032, allocations: 189 kB / 8.013 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.329/2.329, 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.001093/0.001093, allocations: 74.66 kB / 261.8 MB, free: 1.684 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.2666/0.2666, allocations: 38 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.757e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6078, allocations: 95.18 MB / 0.5482 GB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.6082, allocations: 84.39 kB / 0.5483 GB, free: 10.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2018/0.81, allocations: 53.76 MB / 0.6008 GB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.8101, allocations: 0 / 0.6008 GB, free: 1.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.817e-05/0.8101, allocations: 16 kB / 0.6008 GB, free: 1.762 MB / 394.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.002673/0.8128, allocations: 0.9605 MB / 0.6017 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.8129, allocations: 8.031 kB / 0.6017 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/0.8182, allocations: 402.5 kB / 0.6021 GB, free: 360 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.8198, allocations: 487 kB / 0.6026 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.8199, allocations: 24 kB / 0.6026 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.8201, allocations: 47.84 kB / 0.6027 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002496/0.8226, allocations: 0.898 MB / 0.6035 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.8253, allocations: 1.031 MB / 0.6045 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.8254, allocations: 3.938 kB / 0.6045 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.8255, allocations: 11.94 kB / 0.6046 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005078/0.826, allocations: 97.91 kB / 0.6046 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009302/0.8354, allocations: 3.367 MB / 0.6079 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.838, allocations: 1.001 MB / 0.6089 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.8395, allocations: 0.6053 MB / 0.6095 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.8396, allocations: 24.53 kB / 0.6095 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.8397, allocations: 43.34 kB / 0.6096 GB, free: 8.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 4.479e-06/0.8397, allocations: 0 / 0.6096 GB, free: 8.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.005582/0.8453, allocations: 1.888 MB / 0.6114 GB, free: 6.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.8454, allocations: 85.89 kB / 0.6115 GB, free: 6.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.8459, allocations: 290.3 kB / 0.6118 GB, free: 6.293 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.8461, allocations: 29.7 kB / 0.6118 GB, free: 6.258 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.8463, allocations: 362.6 kB / 0.6121 GB, free: 5.898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/0.8468, allocations: 303.5 kB / 0.6124 GB, free: 5.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.8469, allocations: 0 / 0.6124 GB, free: 5.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.847, allocations: 346.8 kB / 0.6128 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.8481, allocations: 414.5 kB / 0.6132 GB, free: 4.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.8492, allocations: 0.5113 MB / 0.6137 GB, free: 4.305 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.8504, allocations: 0.4885 MB / 0.6141 GB, free: 3.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.8504, allocations: 0 / 0.6141 GB, free: 3.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003862/0.8543, allocations: 1.293 MB / 0.6154 GB, free: 2.516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.8544, allocations: 8 kB / 0.6154 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.8544, allocations: 7.891 kB / 0.6154 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.856, allocations: 308.1 kB / 0.6157 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.8577, allocations: 187.7 kB / 0.6159 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008355/0.866, allocations: 3.764 MB / 0.6196 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.8672, allocations: 47.91 kB / 0.6196 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.8674, allocations: 35.95 kB / 0.6196 GB, free: 14.03 MB / 426.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 () * 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.0002522/0.8676, allocations: 116.9 kB / 0.6198 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.8678, allocations: 63.33 kB / 0.6198 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.8721, allocations: 1.438 MB / 0.6212 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.8721, allocations: 12 kB / 0.6212 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.8721, allocations: 4 kB / 0.6212 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.8722, allocations: 11.94 kB / 0.6212 GB, free: 12.37 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.008508/0.8807, allocations: 2.775 MB / 0.624 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.8808, allocations: 4 kB / 0.624 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.8822, allocations: 167.8 kB / 0.6241 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.8836, allocations: 273.1 kB / 0.6244 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.8838, allocations: 8 kB / 0.6244 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007493/0.8913, allocations: 3.476 MB / 0.6278 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/0.8914, allocations: 7.938 kB / 0.6278 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/0.8955, allocations: 1.649 MB / 0.6294 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.8959, allocations: 144.3 kB / 0.6295 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.8961, allocations: 7.938 kB / 0.6295 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/0.8969, allocations: 36.03 kB / 0.6296 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.8972, allocations: 76.58 kB / 0.6297 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.8973, allocations: 35.98 kB / 0.6297 GB, free: 3.332 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003918/0.8977, allocations: 224.6 kB / 0.6299 GB, free: 3.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8977, allocations: 0 / 0.6299 GB, free: 3.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001546/0.8992, allocations: 284 kB / 0.6302 GB, free: 2.836 MB / 426.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.0002572/0.8995, allocations: 124.7 kB / 0.6303 GB, free: 2.707 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.9028, allocations: 1.253 MB / 0.6315 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.9028, allocations: 64 / 0.6315 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.9049, allocations: 0.7742 MB / 0.6323 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.9058, allocations: 70.02 kB / 0.6323 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.9099, allocations: 1.506 MB / 0.6338 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.911, allocations: 1.081 MB / 0.6349 GB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/0.9115, allocations: 59.42 kB / 0.6349 GB, free: 13.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9115, allocations: 4 kB / 0.6349 GB, free: 13.83 MB / 442.7 MB Notification: Performance of Templates: time 0.02752/0.9391, allocations: 11.7 MB / 0.6463 GB, free: 2.125 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)