Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.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.NetworkLoop,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop",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.001574/0.001573, allocations: 181.3 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 90.86 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2648/0.2648, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.000456, allocations: 16 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4932/0.6016, allocations: 95.84 MB / 0.5615 GB, free: 3.961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.602, allocations: 84.08 kB / 0.5616 GB, free: 3.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2155/0.8175, allocations: 54.91 MB / 0.6152 GB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.8176, allocations: 0 / 0.6152 GB, free: 4.516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.4e-05/0.8176, allocations: 16 kB / 0.6152 GB, free: 4.5 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003203/0.8208, allocations: 1.015 MB / 0.6162 GB, free: 3.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.8209, allocations: 8.031 kB / 0.6162 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005473/0.8215, allocations: 138.9 kB / 0.6163 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/0.8271, allocations: 390.5 kB / 0.6167 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.8287, allocations: 487.5 kB / 0.6172 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.8288, allocations: 57.98 kB / 0.6172 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/0.8291, allocations: 71.98 kB / 0.6173 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/0.8324, allocations: 1.144 MB / 0.6184 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.378e-05/0.8325, allocations: 4 kB / 0.6184 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.8327, allocations: 27.98 kB / 0.6185 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005675/0.8332, allocations: 105.9 kB / 0.6186 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/0.8372, allocations: 1.194 MB / 0.6197 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.8476, allocations: 3.523 MB / 0.6232 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.8506, allocations: 1.058 MB / 0.6242 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.8508, allocations: 17.05 kB / 0.6242 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.8509, allocations: 43.52 kB / 0.6243 GB, free: 10.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.048e-06/0.8509, allocations: 0 / 0.6243 GB, free: 10.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01276/0.8637, allocations: 3.057 MB / 0.6272 GB, free: 7.898 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.8638, allocations: 94.23 kB / 0.6273 GB, free: 7.789 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.8644, allocations: 316.8 kB / 0.6276 GB, free: 7.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.8647, allocations: 41.7 kB / 0.6277 GB, free: 7.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.865, allocations: 358.6 kB / 0.628 GB, free: 7.074 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/0.8655, allocations: 319.3 kB / 0.6283 GB, free: 6.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.8656, allocations: 16 kB / 0.6283 GB, free: 6.742 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.8658, allocations: 342.8 kB / 0.6287 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.8671, allocations: 441.7 kB / 0.6291 GB, free: 5.965 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.8684, allocations: 0.5384 MB / 0.6296 GB, free: 5.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.87, allocations: 0.5183 MB / 0.6301 GB, free: 4.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.87, allocations: 0 / 0.6301 GB, free: 4.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004386/0.8744, allocations: 1.396 MB / 0.6315 GB, free: 3.477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.8745, allocations: 4 kB / 0.6315 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.8745, allocations: 4 kB / 0.6315 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.8763, allocations: 343.1 kB / 0.6318 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.878, allocations: 187.7 kB / 0.632 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009562/0.8876, allocations: 4.005 MB / 0.6359 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.8888, allocations: 59.92 kB / 0.636 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.889, allocations: 31.98 kB / 0.636 GB, free: 14.7 MB / 442.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 () * Number of clocked 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.0007655/0.8897, allocations: 289.6 kB / 0.6363 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.89, allocations: 59.28 kB / 0.6363 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/0.8946, allocations: 1.532 MB / 0.6378 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.8947, allocations: 12 kB / 0.6378 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.8947, allocations: 4 kB / 0.6378 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.51e-05/0.8948, allocations: 11.86 kB / 0.6378 GB, free: 12.77 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.009221/0.904, allocations: 3.005 MB / 0.6408 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.9041, allocations: 8.062 kB / 0.6408 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.9055, allocations: 167.8 kB / 0.6409 GB, free: 9.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.9071, allocations: 281.1 kB / 0.6412 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.9074, allocations: 23.98 kB / 0.6412 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008483/0.9159, allocations: 3.695 MB / 0.6448 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.9159, allocations: 7.938 kB / 0.6449 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.9205, allocations: 1.731 MB / 0.6465 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.9209, allocations: 140.3 kB / 0.6467 GB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.9212, allocations: 23.95 kB / 0.6467 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.922, allocations: 55.94 kB / 0.6468 GB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.9223, allocations: 68.84 kB / 0.6468 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.9224, allocations: 39.94 kB / 0.6469 GB, free: 3.082 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004889/0.9229, allocations: 259.2 kB / 0.6471 GB, free: 2.828 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.9229, allocations: 0 / 0.6471 GB, free: 2.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001587/0.9245, allocations: 320 kB / 0.6474 GB, free: 2.516 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 (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.005162/0.9297, allocations: 3.323 MB / 0.6507 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.9337, allocations: 1.347 MB / 0.652 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.9337, allocations: 8.062 kB / 0.652 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.9361, allocations: 0.836 MB / 0.6528 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009052/0.9371, allocations: 90.86 kB / 0.6529 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.9524, allocations: 6.569 MB / 0.6593 GB, free: 6.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.9537, allocations: 1.089 MB / 0.6604 GB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/0.9546, allocations: 259.3 kB / 0.6606 GB, free: 4.668 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/0.9546, allocations: 0 / 0.6606 GB, free: 4.668 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.897/3.851, allocations: 15.09 MB / 0.6754 GB, free: 5.551 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)