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.002535/0.002535, allocations: 184.7 kB / 13.19 MB, free: 2.125 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.084/2.084, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001104/0.001104, allocations: 98.09 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2725/0.2725, allocations: 37.96 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.431e-05, allocations: 4 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 56.32 MB / 473.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.5774, allocations: 95.75 MB / 0.5556 GB, free: 7.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5777, allocations: 87.94 kB / 0.5557 GB, free: 7.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2215/0.7992, allocations: 54.6 MB / 0.609 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.7993, allocations: 0 / 0.609 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.839e-05/0.7993, allocations: 12 kB / 0.609 GB, free: 0.5391 MB / 442.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.002697/0.802, allocations: 0.9724 MB / 0.61 GB, free: 15.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.8021, allocations: 8.031 kB / 0.61 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003312/0.8025, allocations: 130.8 kB / 0.6101 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005369/0.8078, allocations: 394.5 kB / 0.6105 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.8094, allocations: 487.6 kB / 0.611 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.8095, allocations: 57.98 kB / 0.611 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.8097, allocations: 71.89 kB / 0.6111 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.8129, allocations: 1.133 MB / 0.6122 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.8129, allocations: 7.984 kB / 0.6122 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.8131, allocations: 31.95 kB / 0.6122 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005503/0.8136, allocations: 97.91 kB / 0.6123 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.8173, allocations: 1.171 MB / 0.6135 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.828, allocations: 3.515 MB / 0.6169 GB, free: 8.266 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.831, allocations: 1.051 MB / 0.6179 GB, free: 7.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.8326, allocations: 0.6327 MB / 0.6185 GB, free: 6.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.8328, allocations: 20.72 kB / 0.6186 GB, free: 6.535 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.8328, allocations: 43.34 kB / 0.6186 GB, free: 6.484 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 3.417e-06/0.8329, allocations: 0 / 0.6186 GB, free: 6.484 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.006028/0.8389, allocations: 1.99 MB / 0.6205 GB, free: 4.484 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.839, allocations: 89.88 kB / 0.6206 GB, free: 4.375 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.8397, allocations: 315.5 kB / 0.6209 GB, free: 4.066 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.8398, allocations: 41.7 kB / 0.621 GB, free: 4.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.8401, allocations: 358.6 kB / 0.6213 GB, free: 3.664 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.8405, allocations: 319.5 kB / 0.6216 GB, free: 3.348 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.8406, allocations: 16 kB / 0.6216 GB, free: 3.332 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.8408, allocations: 342.8 kB / 0.622 GB, free: 2.988 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.842, allocations: 433.8 kB / 0.6224 GB, free: 2.562 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.8433, allocations: 0.5226 MB / 0.6229 GB, free: 2.008 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.8447, allocations: 0.5134 MB / 0.6234 GB, free: 1.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8447, allocations: 0 / 0.6234 GB, free: 1.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004209/0.8489, allocations: 1.375 MB / 0.6247 GB, free: 112 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.849, allocations: 8 kB / 0.6247 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.849, allocations: 0 / 0.6247 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/0.8507, allocations: 335.1 kB / 0.6251 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.8524, allocations: 187.7 kB / 0.6252 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008806/0.8612, allocations: 3.899 MB / 0.629 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.8624, allocations: 63.86 kB / 0.6291 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.8625, allocations: 35.98 kB / 0.6291 GB, free: 11.43 MB / 474.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.0002749/0.8628, allocations: 144.9 kB / 0.6293 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.863, allocations: 55.34 kB / 0.6293 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/0.8676, allocations: 1.52 MB / 0.6308 GB, free: 9.695 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.8677, allocations: 15.94 kB / 0.6308 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.8677, allocations: 4 kB / 0.6308 GB, free: 9.676 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.8677, allocations: 3.984 kB / 0.6308 GB, free: 9.672 MB / 474.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.008713/0.8764, allocations: 2.979 MB / 0.6337 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.8765, allocations: 7.938 kB / 0.6338 GB, free: 6.555 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.8778, allocations: 171.8 kB / 0.6339 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.8793, allocations: 281.5 kB / 0.6342 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.8795, allocations: 23.95 kB / 0.6342 GB, free: 6.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007992/0.8875, allocations: 3.588 MB / 0.6377 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.8875, allocations: 7.938 kB / 0.6377 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004345/0.8919, allocations: 1.704 MB / 0.6394 GB, free: 500 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.8922, allocations: 148.3 kB / 0.6395 GB, free: 332 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.8924, allocations: 27.98 kB / 0.6396 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/0.8933, allocations: 47.95 kB / 0.6396 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.8935, allocations: 92.47 kB / 0.6397 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-05/0.8937, allocations: 24 kB / 0.6397 GB, free: 140 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.318/1.212, allocations: 247.6 kB / 0.6399 GB, free: 121.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.212, allocations: 0 / 0.6399 GB, free: 121.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001835/1.214, allocations: 318.7 kB / 0.6403 GB, free: 121.7 MB / 474.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.005246/1.219, allocations: 3.309 MB / 0.6435 GB, free: 119.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003668/1.223, allocations: 1.315 MB / 0.6448 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.223, allocations: 0 / 0.6448 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/1.225, allocations: 0.819 MB / 0.6456 GB, free: 119.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/1.226, allocations: 82.2 kB / 0.6456 GB, free: 119.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/1.231, allocations: 1.783 MB / 0.6474 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009813/1.232, allocations: 1.085 MB / 0.6484 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000768/1.233, allocations: 264.8 kB / 0.6487 GB, free: 118.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/1.233, allocations: 0 / 0.6487 GB, free: 118.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.929/4.162, allocations: 15.61 MB / 0.6639 GB, free: 117.7 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)