Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002227/0.002228, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 86.64 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2938/0.2938, allocations: 37.99 MB / 347.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.772e-05, allocations: 8 kB / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 56.33 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6098, allocations: 94.92 MB / 0.548 GB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.6102, allocations: 80.95 kB / 0.5481 GB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2343/0.8445, allocations: 57.22 MB / 0.604 GB, free: 14.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.8446, allocations: 0 / 0.604 GB, free: 14.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.167e-05/0.8446, allocations: 16 kB / 0.604 GB, free: 14.53 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.003069/0.8477, allocations: 1.007 MB / 0.605 GB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.8478, allocations: 8.031 kB / 0.605 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005764/0.8536, allocations: 422.5 kB / 0.6054 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.8554, allocations: 0.489 MB / 0.6059 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.8555, allocations: 24 kB / 0.6059 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.8557, allocations: 48 kB / 0.606 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002726/0.8584, allocations: 0.9409 MB / 0.6069 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.8613, allocations: 1.074 MB / 0.6079 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.8614, allocations: 7.984 kB / 0.6079 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.8615, allocations: 3.953 kB / 0.6079 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005426/0.8621, allocations: 109.9 kB / 0.608 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.8735, allocations: 3.565 MB / 0.6115 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/0.8769, allocations: 1.036 MB / 0.6125 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.8787, allocations: 0.5901 MB / 0.6131 GB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.8788, allocations: 24.47 kB / 0.6131 GB, free: 5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.8789, allocations: 43.34 kB / 0.6132 GB, free: 4.949 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 4.108e-06/0.8789, allocations: 0 / 0.6132 GB, free: 4.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.006608/0.8855, allocations: 1.895 MB / 0.615 GB, free: 3.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.8856, allocations: 89.89 kB / 0.6151 GB, free: 2.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006614/0.8863, allocations: 302.2 kB / 0.6154 GB, free: 2.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.8866, allocations: 25.7 kB / 0.6154 GB, free: 2.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.8869, allocations: 378.4 kB / 0.6158 GB, free: 2.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000553/0.8875, allocations: 303.5 kB / 0.6161 GB, free: 1.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.8876, allocations: 0 / 0.6161 GB, free: 1.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.8878, allocations: 346.8 kB / 0.6164 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.889, allocations: 418.5 kB / 0.6168 GB, free: 1.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.8904, allocations: 0.5166 MB / 0.6173 GB, free: 0.625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.8919, allocations: 0.502 MB / 0.6178 GB, free: 124 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.892, allocations: 3.984 kB / 0.6178 GB, free: 120 kB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004449/0.8964, allocations: 1.325 MB / 0.6191 GB, free: 14.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.8965, allocations: 4 kB / 0.6191 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.8965, allocations: 4 kB / 0.6191 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.8981, allocations: 312 kB / 0.6194 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.8998, allocations: 187.7 kB / 0.6196 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008884/0.9087, allocations: 3.755 MB / 0.6232 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.9099, allocations: 47.91 kB / 0.6233 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.9101, allocations: 31.98 kB / 0.6233 GB, free: 10.31 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.0002878/0.9104, allocations: 120.8 kB / 0.6234 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003801/0.9142, allocations: 1.249 MB / 0.6247 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.9145, allocations: 63.33 kB / 0.6247 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.9189, allocations: 1.422 MB / 0.6261 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.919, allocations: 8 kB / 0.6261 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.919, allocations: 12 kB / 0.6261 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.919, allocations: 3.984 kB / 0.6261 GB, free: 7.41 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.009146/0.9282, allocations: 2.768 MB / 0.6288 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.9283, allocations: 4 kB / 0.6288 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.9296, allocations: 175.7 kB / 0.629 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.9311, allocations: 277 kB / 0.6293 GB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.9313, allocations: 8 kB / 0.6293 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007999/0.9393, allocations: 3.476 MB / 0.6327 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-05/0.9394, allocations: 11.92 kB / 0.6327 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/0.9436, allocations: 1.649 MB / 0.6343 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.9439, allocations: 144.3 kB / 0.6344 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.9441, allocations: 11.98 kB / 0.6344 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000822/0.9449, allocations: 27.95 kB / 0.6345 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.9451, allocations: 88.56 kB / 0.6346 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-05/0.9452, allocations: 28 kB / 0.6346 GB, free: 14.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004099/0.9457, allocations: 232.6 kB / 0.6348 GB, free: 14.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9457, allocations: 0 / 0.6348 GB, free: 14.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00152/0.9472, allocations: 288.9 kB / 0.6351 GB, free: 13.85 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.004853/0.9521, allocations: 3.231 MB / 0.6382 GB, free: 10.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.9556, allocations: 1.258 MB / 0.6395 GB, free: 9.219 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9556, allocations: 0 / 0.6395 GB, free: 9.219 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.9577, allocations: 0.7627 MB / 0.6402 GB, free: 8.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.9586, allocations: 73.91 kB / 0.6403 GB, free: 8.375 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.9636, allocations: 1.715 MB / 0.6419 GB, free: 6.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.9648, allocations: 1.105 MB / 0.643 GB, free: 5.434 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/0.9656, allocations: 279.3 kB / 0.6433 GB, free: 5.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.9656, allocations: 0 / 0.6433 GB, free: 5.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.896/3.861, allocations: 15.95 MB / 0.6589 GB, free: 5.191 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)