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.001578, allocations: 186.6 kB / 15.77 MB, free: 5.984 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.058/2.058, 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.001145/0.001145, allocations: 94.91 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.2641/0.2641, allocations: 38.06 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004593, allocations: 12 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 56.33 MB / 479.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.01018/0.1188, allocations: 6.485 MB / 485.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008681/0.1275, allocations: 4.027 MB / 489.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.1282, allocations: 15.94 kB / 489.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.1287, allocations: 147.2 kB / 489.8 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.1316, allocations: 0.6385 MB / 490.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1329, allocations: 235.4 kB / 490.7 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1342, allocations: 0.5886 MB / 491.3 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003131/0.1373, allocations: 1.162 MB / 492.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.1384, allocations: 378.6 kB / 492.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006864/0.1391, allocations: 350.9 kB / 493.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.1392, allocations: 32 kB / 493.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.1416, allocations: 0.6977 MB / 493.9 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006449/0.1422, allocations: 395.1 kB / 494.3 MB, free: 2.734 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.1426, allocations: 173.3 kB / 494.4 MB, free: 2.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.1449, allocations: 1.029 MB / 495.4 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1449, allocations: 7.938 kB / 495.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1449, allocations: 0 / 495.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.145, allocations: 4 kB / 495.5 MB, free: 1.516 MB / 330.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.002291/0.1473, allocations: 0.9796 MB / 496.4 MB, free: 496 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.1473, allocations: 8.031 kB / 496.4 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000231/0.1476, allocations: 138.9 kB / 496.6 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005128/0.1527, allocations: 438.4 kB / 497 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.154, allocations: 465.6 kB / 497.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.1541, allocations: 54 kB / 497.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.1544, allocations: 71.89 kB / 497.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/0.1574, allocations: 1.168 MB / 498.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/0.1574, allocations: 0 / 498.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.1576, allocations: 35.94 kB / 498.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.1578, allocations: 69.95 kB / 498.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.1611, allocations: 1.234 MB / 0.4884 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009425/0.1706, allocations: 3.531 MB / 0.4918 GB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.1736, allocations: 1.065 MB / 0.4929 GB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.1738, allocations: 21.03 kB / 0.4929 GB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.1738, allocations: 47.88 kB / 0.4929 GB, free: 7.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 3.757e-06/0.1738, allocations: 0 / 0.4929 GB, free: 7.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.01169/0.1855, allocations: 3.053 MB / 0.4959 GB, free: 4.887 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.1856, allocations: 86.11 kB / 0.496 GB, free: 4.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.1863, allocations: 357.7 kB / 0.4963 GB, free: 4.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.1864, allocations: 45.64 kB / 0.4964 GB, free: 4.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.1867, allocations: 366.5 kB / 0.4967 GB, free: 4.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.1872, allocations: 311.4 kB / 0.497 GB, free: 3.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.1873, allocations: 16 kB / 0.497 GB, free: 3.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1875, allocations: 350.8 kB / 0.4974 GB, free: 3.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.1887, allocations: 465.7 kB / 0.4978 GB, free: 2.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.19, allocations: 0.5618 MB / 0.4984 GB, free: 2.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.1915, allocations: 0.5378 MB / 0.4989 GB, free: 1.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1915, allocations: 0 / 0.4989 GB, free: 1.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004319/0.1959, allocations: 1.446 MB / 0.5003 GB, free: 308 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.1959, allocations: 12.19 kB / 0.5003 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.196, allocations: 0 / 0.5003 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.1976, allocations: 345.4 kB / 0.5006 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.1992, allocations: 183.7 kB / 0.5008 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008994/0.2082, allocations: 3.962 MB / 0.5047 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009598/0.2092, allocations: 43.95 kB / 0.5047 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.2093, allocations: 35.98 kB / 0.5048 GB, free: 11.57 MB / 362.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.000614/0.2099, allocations: 297.5 kB / 0.505 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.2101, allocations: 55.34 kB / 0.5051 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.2147, allocations: 1.563 MB / 0.5066 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.2148, allocations: 12 kB / 0.5066 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.2148, allocations: 4 kB / 0.5066 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.2148, allocations: 11.98 kB / 0.5067 GB, free: 9.605 MB / 362.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.008611/0.2234, allocations: 3.021 MB / 0.5096 GB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/0.2235, allocations: 7.938 kB / 0.5096 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.2248, allocations: 171.7 kB / 0.5098 GB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.2263, allocations: 284.8 kB / 0.51 GB, free: 6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.2265, allocations: 27.98 kB / 0.5101 GB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008203/0.2347, allocations: 3.692 MB / 0.5137 GB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.2347, allocations: 4 kB / 0.5137 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/0.2391, allocations: 1.774 MB / 0.5154 GB, free: 208 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.2394, allocations: 140.3 kB / 0.5155 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.2396, allocations: 20 kB / 0.5156 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3084/0.5481, allocations: 39.53 kB / 0.5156 GB, free: 51.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.5485, allocations: 81.11 kB / 0.5157 GB, free: 51.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.5486, allocations: 40.19 kB / 0.5157 GB, free: 51.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004565/0.5491, allocations: 254.2 kB / 0.516 GB, free: 51.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5491, allocations: 0 / 0.516 GB, free: 51.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001466/0.5506, allocations: 304.8 kB / 0.5163 GB, free: 51.71 MB / 362.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.004652/0.5552, allocations: 3.366 MB / 0.5195 GB, free: 49.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003597/0.5589, allocations: 1.385 MB / 0.5209 GB, free: 49.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.559, allocations: 0 / 0.5209 GB, free: 49.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.5612, allocations: 0.84 MB / 0.5217 GB, free: 49.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/0.562, allocations: 84.78 kB / 0.5218 GB, free: 48.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.5754, allocations: 6.601 MB / 0.5282 GB, free: 45.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.5764, allocations: 1.09 MB / 0.5293 GB, free: 44.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008043/0.5773, allocations: 268.9 kB / 0.5296 GB, free: 44.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5773, allocations: 0 / 0.5296 GB, free: 44.26 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.886/3.463, allocations: 15.02 MB / 0.5442 GB, free: 36.21 MB / 362.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)