Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001592/0.001591, allocations: 180.7 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.433/1.433, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001657/0.001657, allocations: 120.4 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1811/0.1811, allocations: 38.01 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 8 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08904, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2995/0.3886, allocations: 90.85 MB / 0.5351 GB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.3889, allocations: 86.52 kB / 0.5352 GB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1273/0.5163, allocations: 54.85 MB / 0.5888 GB, free: 4.898 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5164, allocations: 0 / 0.5888 GB, free: 4.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.5164, allocations: 16 kB / 0.5888 GB, free: 4.883 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.001913/0.5183, allocations: 1.015 MB / 0.5898 GB, free: 3.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.5184, allocations: 12.02 kB / 0.5898 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.5186, allocations: 135 kB / 0.5899 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.5218, allocations: 394.5 kB / 0.5903 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/0.5227, allocations: 487.5 kB / 0.5908 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.5227, allocations: 57.92 kB / 0.5908 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.5228, allocations: 75.98 kB / 0.5909 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.5246, allocations: 1.144 MB / 0.592 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.5247, allocations: 4 kB / 0.592 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.5248, allocations: 35.92 kB / 0.592 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.525, allocations: 93.91 kB / 0.5921 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.5268, allocations: 1.194 MB / 0.5933 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005218/0.532, allocations: 3.511 MB / 0.5967 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.5336, allocations: 1.062 MB / 0.5978 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.5336, allocations: 25.03 kB / 0.5978 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5337, allocations: 39.56 kB / 0.5978 GB, free: 11.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.016e-06/0.5337, allocations: 0 / 0.5978 GB, free: 11.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.006512/0.5402, allocations: 3.057 MB / 0.6008 GB, free: 8.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.5403, allocations: 90.23 kB / 0.6009 GB, free: 8.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.5407, allocations: 316.8 kB / 0.6012 GB, free: 7.867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.5407, allocations: 41.7 kB / 0.6012 GB, free: 7.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.5409, allocations: 312.2 kB / 0.6015 GB, free: 7.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.5412, allocations: 319.3 kB / 0.6018 GB, free: 7.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.5412, allocations: 16 kB / 0.6019 GB, free: 7.176 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5414, allocations: 370.7 kB / 0.6022 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.542, allocations: 441.7 kB / 0.6026 GB, free: 6.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.5427, allocations: 0.5383 MB / 0.6032 GB, free: 5.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.5435, allocations: 0.5144 MB / 0.6037 GB, free: 5.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5435, allocations: 3.938 kB / 0.6037 GB, free: 5.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00227/0.5458, allocations: 1.415 MB / 0.605 GB, free: 3.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.5458, allocations: 11.98 kB / 0.6051 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5458, allocations: 0 / 0.6051 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009231/0.5468, allocations: 335.1 kB / 0.6054 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/0.5476, allocations: 199.7 kB / 0.6056 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.5528, allocations: 4.001 MB / 0.6095 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.5534, allocations: 59.92 kB / 0.6095 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.5535, allocations: 35.98 kB / 0.6096 GB, free: 15.07 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 () * 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.000501/0.554, allocations: 289.6 kB / 0.6098 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5542, allocations: 59.3 kB / 0.6099 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.5568, allocations: 1.536 MB / 0.6114 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.5568, allocations: 8 kB / 0.6114 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5569, allocations: 8 kB / 0.6114 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5569, allocations: 7.969 kB / 0.6114 GB, free: 13.14 MB / 426.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.004981/0.5619, allocations: 2.993 MB / 0.6143 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.5619, allocations: 8.062 kB / 0.6143 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.5626, allocations: 179.7 kB / 0.6145 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008192/0.5634, allocations: 284.9 kB / 0.6148 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/0.5635, allocations: 24 kB / 0.6148 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/0.5686, allocations: 3.694 MB / 0.6184 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/0.5687, allocations: 11.94 kB / 0.6184 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.5715, allocations: 1.734 MB / 0.6201 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5718, allocations: 144.4 kB / 0.6203 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.5719, allocations: 23.98 kB / 0.6203 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.5725, allocations: 43.95 kB / 0.6203 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.5727, allocations: 80.84 kB / 0.6204 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.5727, allocations: 32 kB / 0.6204 GB, free: 3.465 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003307/0.5731, allocations: 259.1 kB / 0.6207 GB, free: 3.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5731, allocations: 0 / 0.6207 GB, free: 3.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001178/0.5743, allocations: 320 kB / 0.621 GB, free: 2.898 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 () * 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.003235/0.5775, allocations: 3.323 MB / 0.6242 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.5799, allocations: 1.346 MB / 0.6255 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5799, allocations: 4.188 kB / 0.6255 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.5812, allocations: 0.8319 MB / 0.6264 GB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.5819, allocations: 90.33 kB / 0.6264 GB, free: 13.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009241/0.5912, allocations: 6.485 MB / 0.6328 GB, free: 6.512 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/0.5921, allocations: 1.093 MB / 0.6338 GB, free: 5.395 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005493/0.5927, allocations: 192.5 kB / 0.634 GB, free: 5.203 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.5932, allocations: 251.3 kB / 0.6343 GB, free: 4.957 MB / 442.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5932, allocations: 0 / 0.6343 GB, free: 4.957 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.6273, allocations: 14.86 MB / 0.6488 GB, free: 6.098 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/0.6277, allocations: 193.6 kB / 0.649 GB, free: 5.859 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.837, allocations: 3.938 kB / 0.649 GB, free: 5.855 MB / 458.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)