Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009411/0.0009412, allocations: 178.9 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.193/1.193, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001524/0.001524, allocations: 110.9 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1618/0.1618, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 15.98 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07104/0.07138, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2649/0.3363, allocations: 90.7 MB / 0.5349 GB, free: 5.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3366, allocations: 79.45 kB / 0.5349 GB, free: 5.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1253/0.4619, allocations: 57.77 MB / 0.5913 GB, free: 2.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.462, allocations: 0 / 0.5913 GB, free: 2.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.462, allocations: 19.98 kB / 0.5914 GB, free: 2.188 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001707/0.4637, allocations: 1.047 MB / 0.5924 GB, free: 1.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.4637, allocations: 12.02 kB / 0.5924 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.4671, allocations: 426.4 kB / 0.5928 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.4679, allocations: 0.4923 MB / 0.5933 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.468, allocations: 57.98 kB / 0.5933 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.4681, allocations: 71.95 kB / 0.5934 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.4698, allocations: 1.195 MB / 0.5946 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.4698, allocations: 11.94 kB / 0.5946 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.4699, allocations: 27.98 kB / 0.5946 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002582/0.4702, allocations: 109.9 kB / 0.5947 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.472, allocations: 1.257 MB / 0.5959 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005704/0.4777, allocations: 3.72 MB / 0.5996 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.4795, allocations: 1.08 MB / 0.6006 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.943e-05/0.4795, allocations: 17.19 kB / 0.6007 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4796, allocations: 47.5 kB / 0.6007 GB, free: 8.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.845e-06/0.4796, allocations: 0 / 0.6007 GB, free: 8.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.006412/0.486, allocations: 3.042 MB / 0.6037 GB, free: 5.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.4861, allocations: 94.05 kB / 0.6038 GB, free: 5.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.4865, allocations: 328.8 kB / 0.6041 GB, free: 4.863 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/0.4866, allocations: 41.7 kB / 0.6041 GB, free: 4.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.4868, allocations: 328.1 kB / 0.6044 GB, free: 4.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.487, allocations: 319.3 kB / 0.6047 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.4871, allocations: 16 kB / 0.6047 GB, free: 4.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4873, allocations: 374.7 kB / 0.6051 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/0.4879, allocations: 445.7 kB / 0.6055 GB, free: 3.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007027/0.4886, allocations: 0.547 MB / 0.6061 GB, free: 2.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007308/0.4894, allocations: 0.5144 MB / 0.6066 GB, free: 2.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4894, allocations: 8 kB / 0.6066 GB, free: 2.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002299/0.4917, allocations: 1.427 MB / 0.608 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4917, allocations: 4 kB / 0.608 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4917, allocations: 4 kB / 0.608 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009359/0.4927, allocations: 335.1 kB / 0.6083 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.4934, allocations: 199.7 kB / 0.6085 GB, free: 280 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005071/0.4985, allocations: 3.99 MB / 0.6124 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.4992, allocations: 71.81 kB / 0.6124 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.4993, allocations: 28 kB / 0.6125 GB, free: 12.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0004692/0.4998, allocations: 313.5 kB / 0.6128 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4999, allocations: 59.34 kB / 0.6128 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.5024, allocations: 1.516 MB / 0.6143 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5024, allocations: 12 kB / 0.6143 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5025, allocations: 4 kB / 0.6143 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.5025, allocations: 3.984 kB / 0.6143 GB, free: 10.1 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.004735/0.5072, allocations: 3.005 MB / 0.6173 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5072, allocations: 4 kB / 0.6173 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.5079, allocations: 167.8 kB / 0.6174 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007681/0.5087, allocations: 277.7 kB / 0.6177 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.5087, allocations: 31.98 kB / 0.6177 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004598/0.5133, allocations: 3.723 MB / 0.6214 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.5134, allocations: 4 kB / 0.6214 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.516, allocations: 1.718 MB / 0.623 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.5162, allocations: 144.3 kB / 0.6232 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.5163, allocations: 24 kB / 0.6232 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.5168, allocations: 51.88 kB / 0.6233 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.5169, allocations: 76.86 kB / 0.6233 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.517, allocations: 32 kB / 0.6234 GB, free: 424 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003048/0.5173, allocations: 263.1 kB / 0.6236 GB, free: 160 kB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5173, allocations: 0 / 0.6236 GB, free: 160 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001042/0.5183, allocations: 324.9 kB / 0.6239 GB, free: 15.84 MB / 442.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.0002089/0.5186, allocations: 143.9 kB / 0.6241 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.5206, allocations: 1.343 MB / 0.6254 GB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5206, allocations: 0 / 0.6254 GB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.5217, allocations: 0.8282 MB / 0.6262 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.5222, allocations: 90.47 kB / 0.6263 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.525, allocations: 2.148 MB / 0.6284 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.5256, allocations: 1.097 MB / 0.6294 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004363/0.5261, allocations: 184.7 kB / 0.6296 GB, free: 9.883 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.5263, allocations: 55.42 kB / 0.6297 GB, free: 9.828 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5263, allocations: 0 / 0.6297 GB, free: 9.828 MB / 442.7 MB Notification: Performance of Templates: time 0.01397/0.5403, allocations: 9.055 MB / 0.6385 GB, free: 0.7812 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)