Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 172.5 kB / 16.8 MB, free: 4.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240.8 MB, free: 10 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000779/0.0007789, allocations: 102.9 kB / 292 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04049/0.04049, allocations: 8.093 MB / 351.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004013, allocations: 12 kB / 414.4 MB, free: 57.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.09024, allocations: 52.51 MB / 466.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3081/0.3984, allocations: 81.69 MB / 0.5357 GB, free: 3.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.3987, allocations: 72.97 kB / 0.5358 GB, free: 3.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08592/0.4846, allocations: 33.43 MB / 0.5684 GB, free: 4.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.4847, allocations: 448 / 0.5684 GB, free: 4.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.461e-05/0.4848, allocations: 20 kB / 0.5684 GB, free: 4.828 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.007446/0.4922, allocations: 2.05 MB / 0.5705 GB, free: 2.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4923, allocations: 12.03 kB / 0.5705 GB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005108/0.4929, allocations: 131.4 kB / 0.5706 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.4945, allocations: 0.7609 MB / 0.5713 GB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.4946, allocations: 58.38 kB / 0.5714 GB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.4949, allocations: 84.36 kB / 0.5715 GB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.4974, allocations: 1.346 MB / 0.5728 GB, free: 280 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.4975, allocations: 192 / 0.5728 GB, free: 280 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.4976, allocations: 39.94 kB / 0.5728 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.4976, allocations: 20 kB / 0.5728 GB, free: 220 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.4999, allocations: 1.277 MB / 0.5741 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009165/0.509, allocations: 5.57 MB / 0.5795 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.5127, allocations: 3.108 MB / 0.5826 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.5143, allocations: 0.977 MB / 0.5835 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.5146, allocations: 118.4 kB / 0.5836 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.233e-05/0.5147, allocations: 52.11 kB / 0.5837 GB, free: 4.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=147): time 4.658e-06/0.5147, allocations: 0 / 0.5837 GB, free: 4.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=147): time 0.02935/0.5441, allocations: 7.419 MB / 0.5909 GB, free: 12.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5442, allocations: 124.1 kB / 0.591 GB, free: 12.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.5455, allocations: 0.6646 MB / 0.5917 GB, free: 12.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003143/0.5458, allocations: 53.7 kB / 0.5917 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.5461, allocations: 341.8 kB / 0.5921 GB, free: 11.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006275/0.5468, allocations: 0.4888 MB / 0.5925 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.5469, allocations: 28 kB / 0.5926 GB, free: 11.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5471, allocations: 349.9 kB / 0.5929 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.5484, allocations: 0.7172 MB / 0.5936 GB, free: 10.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.5497, allocations: 0.8132 MB / 0.5944 GB, free: 9.258 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/0.5523, allocations: 1.601 MB / 0.596 GB, free: 7.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.5523, allocations: 0 / 0.596 GB, free: 7.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.009614/0.5619, allocations: 3.443 MB / 0.5993 GB, free: 4.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.562, allocations: 11.98 kB / 0.5993 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.562, allocations: 0 / 0.5993 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/0.5735, allocations: 2.744 MB / 0.602 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.5743, allocations: 159.8 kB / 0.6022 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/0.5964, allocations: 10.25 MB / 0.6122 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.5977, allocations: 95.02 kB / 0.6123 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/0.598, allocations: 47.97 kB / 0.6123 GB, free: 6.777 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {20 44} Notification: Performance of prepare postOptimizeDAE: time 0.0007224/0.5987, allocations: 246.3 kB / 0.6126 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.5991, allocations: 106.8 kB / 0.6127 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.6091, allocations: 3.801 MB / 0.6164 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.6092, allocations: 20 kB / 0.6164 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6092, allocations: 4 kB / 0.6164 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.6093, allocations: 7.969 kB / 0.6164 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.6221, allocations: 5.592 MB / 0.6219 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.6221, allocations: 3.984 kB / 0.6219 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.6228, allocations: 179.7 kB / 0.622 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009542/0.6324, allocations: 2.252 MB / 0.6242 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/0.6327, allocations: 39.98 kB / 0.6243 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/0.6538, allocations: 10.08 MB / 0.6341 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/0.6538, allocations: 3.984 kB / 0.6341 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.6642, allocations: 3.659 MB / 0.6377 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.6646, allocations: 211.3 kB / 0.6379 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.6649, allocations: 32 kB / 0.6379 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6661, allocations: 103.9 kB / 0.638 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000494/0.6666, allocations: 122.4 kB / 0.6381 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.6668, allocations: 55.98 kB / 0.6382 GB, free: 11.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008199/0.6676, allocations: 491 kB / 0.6387 GB, free: 11.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6676, allocations: 0 / 0.6387 GB, free: 11.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001806/0.6694, allocations: 0.5309 MB / 0.6392 GB, free: 10.98 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * 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 {20 44} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003302/0.6698, allocations: 151.7 kB / 0.6393 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005943/0.6757, allocations: 2.656 MB / 0.6419 GB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6758, allocations: 0.6562 kB / 0.6419 GB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004389/0.6802, allocations: 1.823 MB / 0.6437 GB, free: 6.309 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.6814, allocations: 150.9 kB / 0.6438 GB, free: 6.164 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.6854, allocations: 2.392 MB / 0.6462 GB, free: 3.754 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.6861, allocations: 1.081 MB / 0.6472 GB, free: 2.641 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006507/0.6868, allocations: 143.5 kB / 0.6474 GB, free: 2.496 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.687, allocations: 91.39 kB / 0.6475 GB, free: 2.406 MB / 458.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6871, allocations: 4 kB / 0.6475 GB, free: 2.402 MB / 458.7 MB Notification: Performance of Templates: time 0.2574/0.9445, allocations: 34.49 MB / 0.6812 GB, free: 130.2 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)