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.002085/0.002085, allocations: 186.4 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.083/2.083, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.001117/0.001117, allocations: 94.64 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2591/0.2591, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.226e-05, allocations: 4 kB / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 56.32 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4833/0.5895, allocations: 95.09 MB / 0.5482 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.5899, allocations: 81.92 kB / 0.5483 GB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2042/0.7941, allocations: 54.36 MB / 0.6014 GB, free: 1.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.7942, allocations: 0 / 0.6014 GB, free: 1.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.158e-05/0.7942, allocations: 16 kB / 0.6014 GB, free: 1.172 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.002661/0.7969, allocations: 0.9757 MB / 0.6023 GB, free: 156 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.797, allocations: 8.031 kB / 0.6023 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.8023, allocations: 394.5 kB / 0.6027 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.8038, allocations: 479.3 kB / 0.6032 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.8039, allocations: 31.97 kB / 0.6032 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.8041, allocations: 47.91 kB / 0.6032 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002486/0.8066, allocations: 0.898 MB / 0.6041 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.8092, allocations: 1.031 MB / 0.6051 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.8093, allocations: 3.984 kB / 0.6051 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.8094, allocations: 3.953 kB / 0.6051 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005205/0.81, allocations: 105.9 kB / 0.6052 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009203/0.8192, allocations: 3.37 MB / 0.6085 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.8218, allocations: 1.004 MB / 0.6095 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.8233, allocations: 0.6015 MB / 0.6101 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.8234, allocations: 15.89 kB / 0.6101 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.8235, allocations: 43.34 kB / 0.6101 GB, free: 8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 4.018e-06/0.8235, allocations: 4 kB / 0.6102 GB, free: 7.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.005733/0.8292, allocations: 1.891 MB / 0.612 GB, free: 6.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.8293, allocations: 85.89 kB / 0.6121 GB, free: 5.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.8299, allocations: 294.2 kB / 0.6124 GB, free: 5.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.83, allocations: 25.7 kB / 0.6124 GB, free: 5.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.8303, allocations: 358.6 kB / 0.6127 GB, free: 5.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.8307, allocations: 303.5 kB / 0.613 GB, free: 5.004 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.8308, allocations: 0 / 0.613 GB, free: 5.004 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8309, allocations: 342.8 kB / 0.6133 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.832, allocations: 422.5 kB / 0.6137 GB, free: 4.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.8331, allocations: 0.5036 MB / 0.6142 GB, free: 3.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.8344, allocations: 0.4885 MB / 0.6147 GB, free: 3.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.8344, allocations: 4 kB / 0.6147 GB, free: 3.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003871/0.8383, allocations: 1.297 MB / 0.616 GB, free: 1.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.8384, allocations: 4 kB / 0.616 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.8384, allocations: 8.141 kB / 0.616 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.84, allocations: 307.9 kB / 0.6163 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.8416, allocations: 195.7 kB / 0.6165 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008373/0.8499, allocations: 3.766 MB / 0.6202 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.8513, allocations: 47.91 kB / 0.6202 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.8515, allocations: 31.95 kB / 0.6202 GB, free: 13.44 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.0002666/0.8518, allocations: 112.9 kB / 0.6203 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003845/0.8557, allocations: 1.246 MB / 0.6216 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.856, allocations: 55.34 kB / 0.6216 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/0.8605, allocations: 1.434 MB / 0.623 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.8606, allocations: 12 kB / 0.623 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.8606, allocations: 4 kB / 0.623 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-05/0.8606, allocations: 3.984 kB / 0.623 GB, free: 10.54 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.009016/0.8697, allocations: 2.783 MB / 0.6257 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.8697, allocations: 0 / 0.6257 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.8712, allocations: 175.7 kB / 0.6259 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.8728, allocations: 280.5 kB / 0.6262 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/0.873, allocations: 11.98 kB / 0.6262 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007923/0.881, allocations: 3.472 MB / 0.6296 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.881, allocations: 4 kB / 0.6296 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004217/0.8852, allocations: 1.645 MB / 0.6312 GB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.8856, allocations: 148.3 kB / 0.6313 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/0.8859, allocations: 7.984 kB / 0.6313 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/0.8868, allocations: 35.94 kB / 0.6314 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.8871, allocations: 72.67 kB / 0.6314 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-05/0.8872, allocations: 32 kB / 0.6315 GB, free: 1.492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004211/0.8876, allocations: 228.6 kB / 0.6317 GB, free: 1.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8876, allocations: 0 / 0.6317 GB, free: 1.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001815/0.8895, allocations: 284 kB / 0.632 GB, free: 0.9922 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.005267/0.8948, allocations: 3.243 MB / 0.6351 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003743/0.8986, allocations: 1.256 MB / 0.6364 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.8986, allocations: 0.5625 kB / 0.6364 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.9009, allocations: 0.7781 MB / 0.6371 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/0.9019, allocations: 69.91 kB / 0.6372 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.9089, allocations: 1.688 MB / 0.6388 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.9101, allocations: 1.085 MB / 0.6399 GB, free: 8.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008558/0.911, allocations: 267.3 kB / 0.6401 GB, free: 8.332 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.911, allocations: 4 kB / 0.6402 GB, free: 8.328 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.996/3.907, allocations: 15.49 MB / 0.6553 GB, free: 8.824 MB / 458.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)