Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001427, 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.058/2.058, allocations: 205.3 MB / 213.7 MB, free: 1.75 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.001066/0.001066, allocations: 86.62 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.2605/0.2605, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.749e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5886/0.7001, allocations: 95.08 MB / 0.5481 GB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/0.7005, allocations: 86.45 kB / 0.5482 GB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2831/0.9836, allocations: 54.35 MB / 0.6013 GB, free: 1.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.9837, allocations: 0 / 0.6013 GB, free: 1.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.339e-05/0.9838, allocations: 12 kB / 0.6013 GB, free: 1.238 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.003135/0.9869, allocations: 0.9605 MB / 0.6022 GB, free: 236 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.987, allocations: 8.031 kB / 0.6022 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007835/0.9949, allocations: 402.5 kB / 0.6026 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.9971, allocations: 482.2 kB / 0.6031 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.9972, allocations: 28 kB / 0.6031 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.9975, allocations: 43.91 kB / 0.6031 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003738/1.001, allocations: 0.9019 MB / 0.604 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/1.005, allocations: 1.027 MB / 0.605 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/1.005, allocations: 0 / 0.605 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/1.005, allocations: 3.953 kB / 0.605 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006644/1.006, allocations: 109.9 kB / 0.6051 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02615/1.032, allocations: 3.371 MB / 0.6084 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009924/1.042, allocations: 1.001 MB / 0.6094 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/1.044, allocations: 0.6015 MB / 0.61 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/1.044, allocations: 16.44 kB / 0.61 GB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/1.044, allocations: 47.34 kB / 0.6101 GB, free: 8.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 5.921e-06/1.044, allocations: 0 / 0.6101 GB, free: 8.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.007488/1.052, allocations: 1.891 MB / 0.6119 GB, free: 6.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/1.052, allocations: 85.89 kB / 0.612 GB, free: 6.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000677/1.053, allocations: 286.3 kB / 0.6123 GB, free: 5.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/1.053, allocations: 25.7 kB / 0.6123 GB, free: 5.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/1.053, allocations: 366.5 kB / 0.6126 GB, free: 5.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005239/1.054, allocations: 303.5 kB / 0.6129 GB, free: 5.082 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/1.054, allocations: 0 / 0.6129 GB, free: 5.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/1.054, allocations: 342.8 kB / 0.6132 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/1.055, allocations: 422.5 kB / 0.6136 GB, free: 4.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.057, allocations: 0.5075 MB / 0.6141 GB, free: 3.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.059, allocations: 0.4885 MB / 0.6146 GB, free: 3.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/1.059, allocations: 4 kB / 0.6146 GB, free: 3.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.005414/1.064, allocations: 1.293 MB / 0.6159 GB, free: 2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/1.064, allocations: 4 kB / 0.6159 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/1.064, allocations: 8.141 kB / 0.6159 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/1.066, allocations: 315.9 kB / 0.6162 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/1.069, allocations: 191.7 kB / 0.6164 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.08, allocations: 3.761 MB / 0.6201 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.082, allocations: 43.92 kB / 0.6201 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.082, allocations: 39.94 kB / 0.6201 GB, free: 13.51 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.000338/1.082, allocations: 112.8 kB / 0.6202 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/1.082, allocations: 59.33 kB / 0.6203 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005413/1.088, allocations: 1.438 MB / 0.6217 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/1.088, allocations: 12 kB / 0.6217 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.088, allocations: 4 kB / 0.6217 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/1.088, allocations: 11.92 kB / 0.6217 GB, free: 11.86 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.008355/1.096, allocations: 2.782 MB / 0.6244 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.096, allocations: 4 kB / 0.6245 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/1.098, allocations: 167.7 kB / 0.6246 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/1.099, allocations: 276.7 kB / 0.6249 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.099, allocations: 8 kB / 0.6249 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/1.107, allocations: 3.472 MB / 0.6283 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.107, allocations: 4 kB / 0.6283 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00417/1.111, allocations: 1.645 MB / 0.6299 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/1.112, allocations: 152.3 kB / 0.63 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.112, allocations: 4 kB / 0.63 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/1.113, allocations: 35.94 kB / 0.6301 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/1.113, allocations: 72.58 kB / 0.6301 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.826e-05/1.113, allocations: 36 kB / 0.6302 GB, free: 2.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004085/1.114, allocations: 224.6 kB / 0.6304 GB, free: 2.598 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.114, allocations: 4 kB / 0.6304 GB, free: 2.594 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001611/1.115, allocations: 280 kB / 0.6307 GB, free: 2.32 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.0003123/1.116, allocations: 128.6 kB / 0.6308 GB, free: 2.188 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003326/1.119, allocations: 1.253 MB / 0.632 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.119, allocations: 0 / 0.632 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002092/1.121, allocations: 0.7744 MB / 0.6328 GB, free: 140 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/1.122, allocations: 69.89 kB / 0.6328 GB, free: 68 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/1.126, allocations: 1.499 MB / 0.6343 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.127, allocations: 1.093 MB / 0.6354 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005703/1.128, allocations: 63.41 kB / 0.6354 GB, free: 13.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/1.128, allocations: 0 / 0.6354 GB, free: 13.31 MB / 442.7 MB Notification: Performance of Templates: time 0.02969/1.158, allocations: 11.69 MB / 0.6468 GB, free: 1.602 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)