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.001713/0.001713, allocations: 180.4 kB / 15.8 MB, free: 6.34 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.345/1.345, allocations: 223.2 MB / 239.7 MB, free: 1.781 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.001119/0.001118, allocations: 106.4 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05493/0.05493, allocations: 8.115 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.000354, allocations: 11.66 kB / 413.1 MB, free: 89.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 52.53 MB / 465.6 MB, free: 42.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/0.4623, allocations: 81.2 MB / 0.534 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4626, allocations: 65.89 kB / 0.5341 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05178/0.5144, allocations: 21.54 MB / 0.5551 GB, free: 30.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5144, allocations: 4 kB / 0.5551 GB, free: 30.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.144e-05/0.5145, allocations: 15.66 kB / 0.5551 GB, free: 30.48 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004818/0.5193, allocations: 1.396 MB / 0.5565 GB, free: 29.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5194, allocations: 8.688 kB / 0.5565 GB, free: 29.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.5198, allocations: 89.56 kB / 0.5566 GB, free: 29.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.5208, allocations: 0.4996 MB / 0.5571 GB, free: 29.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.5208, allocations: 36.59 kB / 0.5571 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5209, allocations: 51.47 kB / 0.5571 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.5223, allocations: 0.8293 MB / 0.5579 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5224, allocations: 0 / 0.5579 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.5224, allocations: 28.69 kB / 0.558 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.5225, allocations: 19.52 kB / 0.558 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5236, allocations: 0.7856 MB / 0.5588 GB, free: 29.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004483/0.5281, allocations: 3.569 MB / 0.5622 GB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.5297, allocations: 1.35 MB / 0.5636 GB, free: 27.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.5299, allocations: 97.23 kB / 0.5637 GB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.5299, allocations: 48.25 kB / 0.5637 GB, free: 27.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.5299, allocations: 0 / 0.5637 GB, free: 27.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.01376/0.5437, allocations: 3.862 MB / 0.5675 GB, free: 26.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.5438, allocations: 113.1 kB / 0.5676 GB, free: 26.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/0.5445, allocations: 397.4 kB / 0.568 GB, free: 26.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.5446, allocations: 49.55 kB / 0.568 GB, free: 26.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5448, allocations: 249.7 kB / 0.5682 GB, free: 26.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.5451, allocations: 297.8 kB / 0.5685 GB, free: 25.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.5451, allocations: 17.44 kB / 0.5685 GB, free: 25.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5453, allocations: 373.5 kB / 0.5689 GB, free: 25.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/0.546, allocations: 455.4 kB / 0.5693 GB, free: 25.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.5467, allocations: 0.5078 MB / 0.5698 GB, free: 25.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.5474, allocations: 0.4905 MB / 0.5703 GB, free: 25.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5475, allocations: 1.406 kB / 0.5703 GB, free: 25.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005725/0.5532, allocations: 2.137 MB / 0.5724 GB, free: 24.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.5532, allocations: 7.656 kB / 0.5724 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5533, allocations: 1.219 kB / 0.5724 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006349/0.5596, allocations: 1.495 MB / 0.5739 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.5602, allocations: 94.44 kB / 0.574 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.5743, allocations: 6.916 MB / 0.5807 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5753, allocations: 63.61 kB / 0.5808 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.5755, allocations: 29.23 kB / 0.5808 GB, free: 22.36 MB / 378.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.0005981/0.5761, allocations: 200.2 kB / 0.581 GB, free: 22.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.5764, allocations: 70.16 kB / 0.5811 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006112/0.5825, allocations: 2.329 MB / 0.5833 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.5825, allocations: 19.59 kB / 0.5834 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5826, allocations: 4 kB / 0.5834 GB, free: 21.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.5826, allocations: 3.984 kB / 0.5834 GB, free: 21.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007008/0.5896, allocations: 3.501 MB / 0.5868 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.5896, allocations: 3.984 kB / 0.5868 GB, free: 19.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.59, allocations: 109.5 kB / 0.5869 GB, free: 19.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00546/0.5955, allocations: 1.341 MB / 0.5882 GB, free: 18.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.831e-05/0.5956, allocations: 23.42 kB / 0.5882 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.6069, allocations: 6.843 MB / 0.5949 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.607, allocations: 112 / 0.5949 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/0.6127, allocations: 2.281 MB / 0.5971 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.6131, allocations: 167.3 kB / 0.5973 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.6132, allocations: 15.78 kB / 0.5973 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/0.614, allocations: 54.81 kB / 0.5974 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.6142, allocations: 83.22 kB / 0.5974 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.6143, allocations: 34.86 kB / 0.5975 GB, free: 12.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004425/0.6148, allocations: 318.6 kB / 0.5978 GB, free: 11.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6148, allocations: 3.875 kB / 0.5978 GB, free: 11.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001114/0.6159, allocations: 335.6 kB / 0.5981 GB, free: 11.8 MB / 378.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.0002974/0.6162, allocations: 146 kB / 0.5982 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003677/0.6199, allocations: 1.664 MB / 0.5999 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6199, allocations: 0 / 0.5999 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/0.6226, allocations: 1.149 MB / 0.601 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.6231, allocations: 69.69 kB / 0.601 GB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.6256, allocations: 1.513 MB / 0.6025 GB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.6262, allocations: 0.9334 MB / 0.6034 GB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.6266, allocations: 94.23 kB / 0.6035 GB, free: 8.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.6267, allocations: 61.91 kB / 0.6036 GB, free: 8.152 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6267, allocations: 0 / 0.6036 GB, free: 8.152 MB / 378.7 MB Notification: Performance of Templates: time 0.03317/0.6599, allocations: 20.81 MB / 0.6239 GB, free: 6.961 MB / 394.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)