Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.LargerNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 177.9 kB / 8.043 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 221.5 MB / 230 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009149/0.0009148, allocations: 87.58 kB / 280.9 MB, free: 1.168 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05041/0.05041, allocations: 8.102 MB / 339.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.6e-05, allocations: 4 kB / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 52.51 MB / 451 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4387, allocations: 82.78 MB / 0.5213 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.439, allocations: 61.72 kB / 0.5213 GB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2082/0.6472, allocations: 82.52 MB / 0.6019 GB, free: 15.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.6473, allocations: 0 / 0.6019 GB, free: 15.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003123/0.6476, allocations: 59.94 kB / 0.602 GB, free: 14.99 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.02044/0.6681, allocations: 4.728 MB / 0.6066 GB, free: 10.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.6681, allocations: 15.97 kB / 0.6066 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.67, allocations: 372 kB / 0.6069 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.6737, allocations: 1.582 MB / 0.6085 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004298/0.6742, allocations: 0.6394 MB / 0.6091 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004842/0.6747, allocations: 136 kB / 0.6092 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005954/0.6806, allocations: 3.426 MB / 0.6126 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006009/0.6867, allocations: 3.384 MB / 0.6159 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.6867, allocations: 0 / 0.6159 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003371/0.6871, allocations: 8 kB / 0.6159 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.6871, allocations: 67.86 kB / 0.616 GB, free: 344 kB / 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 preOpt removeSimpleEquations (simulation): time 0.02728/0.7144, allocations: 14.75 MB / 0.6304 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00813/0.7226, allocations: 7.311 MB / 0.6375 GB, free: 8.848 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004545/0.7272, allocations: 2.626 MB / 0.6401 GB, free: 6.219 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006944/0.7279, allocations: 172.4 kB / 0.6402 GB, free: 6.031 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005521/0.7335, allocations: 2.787 MB / 0.643 GB, free: 3.219 MB / 458.7 MB Notification: Performance of pre-optimization done (n=452): time 8.767e-06/0.7335, allocations: 0 / 0.643 GB, free: 3.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=452): time 0.2747/1.008, allocations: 6.953 MB / 0.6497 GB, free: 99.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.008, allocations: 181.4 kB / 0.6499 GB, free: 98.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/1.011, allocations: 1.224 MB / 0.6511 GB, free: 98.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007858/1.012, allocations: 45.02 kB / 0.6512 GB, free: 98.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007237/1.012, allocations: 0.9132 MB / 0.652 GB, free: 98.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001549/1.014, allocations: 1.388 MB / 0.6534 GB, free: 97.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/1.014, allocations: 0 / 0.6534 GB, free: 97.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/1.014, allocations: 451.1 kB / 0.6538 GB, free: 97.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003203/1.017, allocations: 1.98 MB / 0.6558 GB, free: 97.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/1.021, allocations: 2.207 MB / 0.6579 GB, free: 97.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/1.027, allocations: 2.216 MB / 0.6601 GB, free: 97.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.027, allocations: 3.031 kB / 0.6601 GB, free: 97.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01582/1.043, allocations: 6.994 MB / 0.6669 GB, free: 97.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.043, allocations: 7.625 kB / 0.6669 GB, free: 97.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.043, allocations: 0 / 0.6669 GB, free: 97.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02786/1.071, allocations: 9.396 MB / 0.6761 GB, free: 96.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.072, allocations: 386 kB / 0.6765 GB, free: 96.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.086, allocations: 7.507 MB / 0.6838 GB, free: 96.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/1.091, allocations: 261.8 kB / 0.6841 GB, free: 96.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005291/1.091, allocations: 124.7 kB / 0.6842 GB, free: 96.1 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: b56131.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11465.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b11465.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b61232.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11458.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b61256.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61274.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11407.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61280.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61280.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11407.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11403.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61254.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61273.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61274.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61275.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61260.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11465.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61121.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b87694.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61232.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11458.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61106.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b56131.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b87656.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61227.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61089.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11480.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61256.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61280.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.b61280.degradedMode,b61280.degradedMode,$PRE.b11458.degradedMode,b11458.degradedMode,$PRE.b61256.degradedMode,b61256.degradedMode,$PRE.b11480.degradedMode,b11480.degradedMode,$PRE.b61232.degradedMode,b61232.degradedMode,$PRE.b61121.degradedMode,b61121.degradedMode,$PRE.b87694.degradedMode,b87694.degradedMode,$PRE.b11465.degradedMode,b11465.degradedMode,$PRE.b61260.degradedMode,b61260.degradedMode,$PRE.b61254.degradedMode,b61254.degradedMode,$PRE.b11407.degradedMode,b11407.degradedMode,$PRE.b11403.degradedMode,b11403.degradedMode,$PRE.b61227.degradedMode,b61227.degradedMode,$PRE.b61089.degradedMode,b61089.degradedMode,$PRE.b61274.degradedMode,b61274.degradedMode,$PRE.b61273.degradedMode,b61273.degradedMode,$PRE.b61275.degradedMode,b61275.degradedMode,$PRE.b56131.degradedMode,b56131.degradedMode,$PRE.b87656.degradedMode,b87656.degradedMode,$PRE.b61106.degradedMode,b61106.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * 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: 0 * Non-linear torn systems: 1 {79 137} Notification: Performance of prepare postOptimizeDAE: time 0.0009937/1.092, allocations: 223.6 kB / 0.6844 GB, free: 95.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.093, allocations: 313 kB / 0.6847 GB, free: 95.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.108, allocations: 7.469 MB / 0.692 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.637e-05/1.108, allocations: 53.97 kB / 0.692 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.108, allocations: 0 / 0.692 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.061e-05/1.108, allocations: 26.02 kB / 0.6921 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04127/1.149, allocations: 12.67 MB / 0.7044 GB, free: 89.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/1.149, allocations: 0 / 0.7044 GB, free: 89.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002958/1.152, allocations: 413.3 kB / 0.7048 GB, free: 89.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04568/1.198, allocations: 9.537 MB / 0.7141 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009409/1.199, allocations: 39.36 kB / 0.7142 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/1.212, allocations: 7.693 MB / 0.7217 GB, free: 82.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.212, allocations: 0 / 0.7217 GB, free: 82.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/1.228, allocations: 7.518 MB / 0.729 GB, free: 75.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/1.23, allocations: 0.987 MB / 0.73 GB, free: 74.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006234/1.231, allocations: 7.688 kB / 0.73 GB, free: 74.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003092/1.234, allocations: 237 kB / 0.7302 GB, free: 74.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/1.234, allocations: 307.2 kB / 0.7305 GB, free: 74.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/1.235, allocations: 155 kB / 0.7307 GB, free: 74.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001085/1.236, allocations: 0.9194 MB / 0.7316 GB, free: 73.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.236, allocations: 0 / 0.7316 GB, free: 73.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001935/1.238, allocations: 0.8508 MB / 0.7324 GB, free: 72.54 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Number of discrete states: 20 (b11480.degradedMode,b61089.degradedMode,b11403.degradedMode,b11407.degradedMode,b61275.degradedMode,b61274.degradedMode,b61273.degradedMode,b61254.degradedMode,b87694.degradedMode,b61232.degradedMode,b11458.degradedMode,b61121.degradedMode,b61280.degradedMode,b61260.degradedMode,b11465.degradedMode,b61227.degradedMode,b61106.degradedMode,b87656.degradedMode,b56131.degradedMode,b61256.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 268 * 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: 0 * Non-linear torn systems: 1 {79 157} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005259/1.238, allocations: 201.3 kB / 0.7326 GB, free: 72.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01307/1.251, allocations: 5.997 MB / 0.7384 GB, free: 66.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.251, allocations: 10.78 kB / 0.7385 GB, free: 66.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01044/1.262, allocations: 3.822 MB / 0.7422 GB, free: 63.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/1.264, allocations: 220 kB / 0.7424 GB, free: 63.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009489/1.274, allocations: 4.504 MB / 0.7468 GB, free: 58.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/1.274, allocations: 1.774 MB / 0.7485 GB, free: 57.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001489/1.276, allocations: 340.5 kB / 0.7489 GB, free: 57.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/1.276, allocations: 212 kB / 0.7491 GB, free: 57.13 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/1.276, allocations: 0 / 0.7491 GB, free: 57.13 MB / 458.7 MB Notification: Performance of Templates: time 0.08132/1.358, allocations: 59.6 MB / 0.8073 GB, free: 9.402 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.LargerNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.LargerNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1)