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.001898/0.001898, allocations: 179.6 kB / 8.35 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.617/1.617, allocations: 194.4 MB / 203.1 MB, free: 12.95 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.001747/0.001747, allocations: 125.5 kB / 248.1 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1855/0.1855, allocations: 37.92 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.044e-05, allocations: 0 / 390.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3318, allocations: 53.23 MB / 443.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.462, allocations: 90.09 MB / 0.5213 GB, free: 7.445 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.4624, allocations: 83.94 kB / 0.5214 GB, free: 7.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3956/0.8579, allocations: 54.3 MB / 0.5744 GB, free: 53.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.858, allocations: 0 / 0.5744 GB, free: 53.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.858, allocations: 12 kB / 0.5744 GB, free: 53.67 MB / 378.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.001607/0.8596, allocations: 0.9683 MB / 0.5753 GB, free: 52.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.8597, allocations: 12.03 kB / 0.5754 GB, free: 52.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/0.8627, allocations: 394.5 kB / 0.5757 GB, free: 52.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.8633, allocations: 487.4 kB / 0.5762 GB, free: 51.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.8634, allocations: 24 kB / 0.5762 GB, free: 51.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.8635, allocations: 43.98 kB / 0.5763 GB, free: 51.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001134/0.8646, allocations: 0.9058 MB / 0.5771 GB, free: 50.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.8659, allocations: 1.031 MB / 0.5782 GB, free: 49.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.8659, allocations: 7.984 kB / 0.5782 GB, free: 49.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.866, allocations: 0 / 0.5782 GB, free: 49.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002488/0.8662, allocations: 97.91 kB / 0.5783 GB, free: 49.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/0.8703, allocations: 3.364 MB / 0.5815 GB, free: 46.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.8715, allocations: 1.009 MB / 0.5825 GB, free: 45.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005981/0.8721, allocations: 0.6088 MB / 0.5831 GB, free: 44.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.8722, allocations: 20.75 kB / 0.5831 GB, free: 44.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.8722, allocations: 43.3 kB / 0.5832 GB, free: 44.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.144e-06/0.8722, allocations: 4 kB / 0.5832 GB, free: 44.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.002693/0.8749, allocations: 1.88 MB / 0.585 GB, free: 42.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.875, allocations: 85.89 kB / 0.5851 GB, free: 42.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.8752, allocations: 302.2 kB / 0.5854 GB, free: 42.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.8753, allocations: 29.7 kB / 0.5854 GB, free: 42.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.8755, allocations: 304.2 kB / 0.5857 GB, free: 41.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.8756, allocations: 303.5 kB / 0.586 GB, free: 41.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.8757, allocations: 0 / 0.586 GB, free: 41.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.8758, allocations: 366.8 kB / 0.5863 GB, free: 41.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.8762, allocations: 418.4 kB / 0.5867 GB, free: 40.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.8768, allocations: 0.5114 MB / 0.5872 GB, free: 40.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.8773, allocations: 496.3 kB / 0.5877 GB, free: 39.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8773, allocations: 0 / 0.5877 GB, free: 39.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001755/0.8791, allocations: 1.324 MB / 0.589 GB, free: 38.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8791, allocations: 14.27 kB / 0.589 GB, free: 38.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.8791, allocations: 4 kB / 0.589 GB, free: 38.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007905/0.8799, allocations: 308.1 kB / 0.5893 GB, free: 38.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.8806, allocations: 187.7 kB / 0.5895 GB, free: 37.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.8846, allocations: 3.773 MB / 0.5932 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.8851, allocations: 47.91 kB / 0.5932 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.8852, allocations: 31.98 kB / 0.5933 GB, free: 33.87 MB / 378.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.0001724/0.8853, allocations: 117.6 kB / 0.5934 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001821/0.8872, allocations: 1.25 MB / 0.5946 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.8873, allocations: 63.28 kB / 0.5947 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.8893, allocations: 1.434 MB / 0.5961 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8893, allocations: 12 kB / 0.5961 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8893, allocations: 4 kB / 0.5961 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.8893, allocations: 7.969 kB / 0.5961 GB, free: 30.96 MB / 378.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.003767/0.8931, allocations: 2.766 MB / 0.5988 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.8931, allocations: 4 kB / 0.5988 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.8937, allocations: 167.8 kB / 0.5989 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006859/0.8944, allocations: 285 kB / 0.5992 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.477e-05/0.8945, allocations: 11.94 kB / 0.5992 GB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/0.898, allocations: 3.465 MB / 0.6026 GB, free: 24.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.898, allocations: 7.938 kB / 0.6026 GB, free: 24.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.9001, allocations: 1.637 MB / 0.6042 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.9003, allocations: 152.2 kB / 0.6044 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.9003, allocations: 8 kB / 0.6044 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.9008, allocations: 31.95 kB / 0.6044 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.9009, allocations: 88.56 kB / 0.6045 GB, free: 21.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/0.901, allocations: 32 kB / 0.6045 GB, free: 21.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002414/0.9012, allocations: 224.6 kB / 0.6047 GB, free: 21.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9012, allocations: 0 / 0.6047 GB, free: 21.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001113/0.9023, allocations: 284 kB / 0.605 GB, free: 21.39 MB / 378.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.002537/0.9049, allocations: 3.233 MB / 0.6082 GB, free: 18.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.9071, allocations: 1.256 MB / 0.6094 GB, free: 16.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.9072, allocations: 0 / 0.6094 GB, free: 16.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.9085, allocations: 0.7782 MB / 0.6101 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.9092, allocations: 72.14 kB / 0.6102 GB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.9129, allocations: 1.608 MB / 0.6118 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.9136, allocations: 1.085 MB / 0.6128 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006136/0.9142, allocations: 184.5 kB / 0.613 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/0.9147, allocations: 259.3 kB / 0.6133 GB, free: 12.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.482e-06/0.9147, allocations: 0 / 0.6133 GB, free: 12.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05162/0.9663, allocations: 14.41 MB / 0.6273 GB, free: 14.23 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/0.9666, allocations: 142.6 kB / 0.6275 GB, free: 14.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.284, allocations: 0 / 0.6275 GB, free: 14.03 MB / 394.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)