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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007954/0.0007954, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 182.6 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2042/0.2042, allocations: 8.091 MB / 300.2 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 8 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 52.53 MB / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003861/0.1321, allocations: 3.431 MB / 419.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.1356, allocations: 1.925 MB / 421.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004939/0.1361, allocations: 12 kB / 421.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.1368, allocations: 195.2 kB / 421.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.1379, allocations: 346 kB / 421.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.1404, allocations: 1.257 MB / 423.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1416, allocations: 0.758 MB / 423.9 MB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.1421, allocations: 214.3 kB / 424.1 MB, free: 228 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2136/0.3556, allocations: 289.5 kB / 424.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.3567, allocations: 389.2 kB / 424.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3569, allocations: 36.03 kB / 424.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/0.3577, allocations: 263.9 kB / 425.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3578, allocations: 130.4 kB / 425.2 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.3582, allocations: 371 kB / 425.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009877/0.3592, allocations: 0.8858 MB / 426.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3592, allocations: 3.328 kB / 426.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3592, allocations: 0 / 426.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3592, allocations: 2.625 kB / 426.5 MB, free: 35.16 MB / 350.1 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.007471/0.3667, allocations: 2.02 MB / 428.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3668, allocations: 9.969 kB / 428.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.367, allocations: 82.44 kB / 428.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.3676, allocations: 483.8 kB / 429.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.3677, allocations: 48 kB / 429.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3678, allocations: 60.97 kB / 429.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.369, allocations: 0.8388 MB / 430 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.369, allocations: 7.609 kB / 430 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.3691, allocations: 27.09 kB / 430 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3691, allocations: 12.41 kB / 430 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3701, allocations: 0.7788 MB / 430.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.3741, allocations: 3.355 MB / 434.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.3757, allocations: 1.351 MB / 435.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/0.3764, allocations: 0.5961 MB / 436.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.3765, allocations: 23.81 kB / 436.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3765, allocations: 45.31 kB / 436.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.765e-06/0.3765, allocations: 0 / 436.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01388/0.3904, allocations: 3.948 MB / 440.1 MB, free: 31.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.3905, allocations: 113.5 kB / 440.2 MB, free: 31.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.3911, allocations: 438.8 kB / 440.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.3912, allocations: 48.17 kB / 440.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.3914, allocations: 235.8 kB / 441 MB, free: 30.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.3916, allocations: 305.3 kB / 441.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3917, allocations: 92.16 kB / 441.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.3918, allocations: 368.9 kB / 441.7 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006849/0.3925, allocations: 0.5383 MB / 442.2 MB, free: 29.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.3932, allocations: 0.6164 MB / 442.9 MB, free: 29.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.3948, allocations: 1.212 MB / 444.1 MB, free: 28.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.3948, allocations: 0 / 444.1 MB, free: 28.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00572/0.4005, allocations: 2.383 MB / 446.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.4006, allocations: 6.562 kB / 446.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4006, allocations: 0 / 446.5 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.4069, allocations: 1.781 MB / 448.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.4075, allocations: 144.1 kB / 448.4 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.419, allocations: 6.707 MB / 455.1 MB, free: 23.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009616/0.42, allocations: 92.34 kB / 455.2 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.4201, allocations: 32.17 kB / 455.2 MB, free: 23.7 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.4205, allocations: 202.8 kB / 455.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.4207, allocations: 64.19 kB / 455.5 MB, free: 23.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005782/0.4264, allocations: 2.339 MB / 457.8 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4265, allocations: 9.625 kB / 457.8 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4265, allocations: 0 / 457.8 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.4265, allocations: 6.562 kB / 457.8 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007184/0.4337, allocations: 3.324 MB / 461.1 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.4337, allocations: 4 kB / 461.2 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.4341, allocations: 110 kB / 461.3 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006275/0.4404, allocations: 1.507 MB / 462.8 MB, free: 20.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.4405, allocations: 20.83 kB / 462.8 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.4531, allocations: 6.605 MB / 469.4 MB, free: 16.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4532, allocations: 0 / 469.4 MB, free: 16.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/0.4596, allocations: 2.276 MB / 471.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.4599, allocations: 153 kB / 471.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.46, allocations: 20 kB / 471.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007104/0.4608, allocations: 67.75 kB / 471.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002981/0.4611, allocations: 80.36 kB / 472 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.4611, allocations: 30.91 kB / 472 MB, free: 15.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000405/0.4616, allocations: 290.9 kB / 472.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4616, allocations: 4 kB / 472.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001134/0.4627, allocations: 341.8 kB / 472.6 MB, free: 15.56 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002706/0.463, allocations: 136.5 kB / 472.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004888/0.4679, allocations: 1.924 MB / 474.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.4679, allocations: 1.5 kB / 474.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003661/0.4716, allocations: 1.253 MB / 475.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009382/0.4725, allocations: 81.81 kB / 476 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.4756, allocations: 1.656 MB / 477.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.4762, allocations: 0.9255 MB / 478.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004809/0.4767, allocations: 88.89 kB / 478.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.4769, allocations: 62.95 kB / 478.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 1.452e-06/0.4769, allocations: 0 / 478.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.03707/0.514, allocations: 20.73 MB / 499.5 MB, free: 13.38 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: