Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 171.8 kB / 16.8 MB, free: 5 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.615/1.615, allocations: 223.3 MB / 240.8 MB, free: 11.71 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.000785/0.0007852, allocations: 94.14 kB / 292 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04296/0.04296, allocations: 8.095 MB / 351.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 12 kB / 414.4 MB, free: 57.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08238, allocations: 52.51 MB / 466.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.3923, allocations: 81.22 MB / 0.5353 GB, free: 4.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.3925, allocations: 72.34 kB / 0.5353 GB, free: 4.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05486/0.4474, allocations: 21.53 MB / 0.5564 GB, free: 1.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4474, allocations: 0 / 0.5564 GB, free: 1.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-05/0.4475, allocations: 11.94 kB / 0.5564 GB, free: 1.301 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004882/0.4524, allocations: 1.4 MB / 0.5577 GB, free: 15.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4524, allocations: 12.03 kB / 0.5577 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.4528, allocations: 84.88 kB / 0.5578 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.4538, allocations: 0.5131 MB / 0.5583 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.4538, allocations: 41.31 kB / 0.5584 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.4539, allocations: 48.38 kB / 0.5584 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4553, allocations: 0.8353 MB / 0.5592 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4554, allocations: 192 / 0.5592 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.767e-05/0.4555, allocations: 27.94 kB / 0.5593 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.4555, allocations: 16 kB / 0.5593 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.4567, allocations: 0.7848 MB / 0.56 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00488/0.4616, allocations: 3.557 MB / 0.5635 GB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.4633, allocations: 1.352 MB / 0.5648 GB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007995/0.4641, allocations: 0.5856 MB / 0.5654 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.4643, allocations: 102.1 kB / 0.5655 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4644, allocations: 51.5 kB / 0.5656 GB, free: 7.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.545e-06/0.4644, allocations: 4 kB / 0.5656 GB, free: 7.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.0138/0.4782, allocations: 3.884 MB / 0.5694 GB, free: 3.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.4783, allocations: 119.8 kB / 0.5695 GB, free: 3.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.4791, allocations: 449.9 kB / 0.5699 GB, free: 2.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.4793, allocations: 41.7 kB / 0.5699 GB, free: 2.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.4795, allocations: 241.4 kB / 0.5702 GB, free: 2.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.4798, allocations: 307.4 kB / 0.5705 GB, free: 2.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.4799, allocations: 16 kB / 0.5705 GB, free: 2.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.48, allocations: 370.8 kB / 0.5708 GB, free: 1.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/0.4808, allocations: 453.9 kB / 0.5713 GB, free: 1.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008226/0.4816, allocations: 0.5169 MB / 0.5718 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.4832, allocations: 0.989 MB / 0.5727 GB, free: 15.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.4832, allocations: 3.984 kB / 0.5727 GB, free: 15.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006044/0.4893, allocations: 2.14 MB / 0.5748 GB, free: 13.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.4894, allocations: 8 kB / 0.5748 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4894, allocations: 0 / 0.5748 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00605/0.4955, allocations: 1.492 MB / 0.5763 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.496, allocations: 99.88 kB / 0.5764 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.5093, allocations: 6.618 MB / 0.5828 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/0.5103, allocations: 67.42 kB / 0.5829 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.5104, allocations: 27.98 kB / 0.5829 GB, free: 5.328 MB / 394.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 (55): * Single equations (assignments): 54 * 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 {12 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004606/0.5109, allocations: 194.4 kB / 0.5831 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.5111, allocations: 63.25 kB / 0.5832 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006198/0.5173, allocations: 2.347 MB / 0.5855 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5174, allocations: 8 kB / 0.5855 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5174, allocations: 0 / 0.5855 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5174, allocations: 7.984 kB / 0.5855 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.5252, allocations: 3.497 MB / 0.5889 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.5253, allocations: 0 / 0.5889 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.5257, allocations: 115.8 kB / 0.589 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005607/0.5313, allocations: 1.343 MB / 0.5903 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.5314, allocations: 23.98 kB / 0.5903 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.5433, allocations: 6.547 MB / 0.5967 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5434, allocations: 0 / 0.5967 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.5495, allocations: 2.287 MB / 0.599 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.5498, allocations: 160 kB / 0.5991 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.55, allocations: 16 kB / 0.5991 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007353/0.5507, allocations: 63.95 kB / 0.5992 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.551, allocations: 76.83 kB / 0.5993 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/0.5511, allocations: 36.03 kB / 0.5993 GB, free: 4.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004962/0.5516, allocations: 331.1 kB / 0.5996 GB, free: 3.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5516, allocations: 0 / 0.5996 GB, free: 3.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00122/0.5528, allocations: 335.8 kB / 0.5999 GB, free: 3.637 MB / 410.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 (66): * Single equations (assignments): 65 * 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 {12 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003719/0.5532, allocations: 139.1 kB / 0.6001 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.5572, allocations: 1.663 MB / 0.6017 GB, free: 1.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5573, allocations: 0 / 0.6017 GB, free: 1.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003045/0.5603, allocations: 1.152 MB / 0.6028 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009159/0.5613, allocations: 88.91 kB / 0.6029 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.5641, allocations: 1.497 MB / 0.6044 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.5647, allocations: 0.922 MB / 0.6053 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004406/0.5651, allocations: 92.83 kB / 0.6054 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.5653, allocations: 59.42 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5653, allocations: 0 / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of Templates: time 0.03326/0.5986, allocations: 20.93 MB / 0.6259 GB, free: 9.066 MB / 442.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)