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.003824/0.003824, allocations: 93.48 kB / 15.91 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009146/0.0009146, allocations: 199.7 kB / 16.84 MB, free: 6.188 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.198/1.198, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1427/0.1427, allocations: 8.085 MB / 298.7 MB, free: 2.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 63.89 kB / 361 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08619/0.08725, allocations: 51.51 MB / 412.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004227/0.09151, allocations: 3.851 MB / 416.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.09398, allocations: 1.956 MB / 418.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.09415, allocations: 12 kB / 418.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.09457, allocations: 183.2 kB / 418.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.09516, allocations: 350 kB / 418.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.09714, allocations: 1.28 MB / 420.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.09775, allocations: 0.754 MB / 420.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.09802, allocations: 222.3 kB / 421.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.09824, allocations: 310.8 kB / 421.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.09861, allocations: 414.1 kB / 421.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.09869, allocations: 48 kB / 421.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.09911, allocations: 275.8 kB / 422.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.09922, allocations: 143.4 kB / 422.3 MB, free: 376 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.0995, allocations: 370 kB / 422.7 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007276/0.1002, allocations: 0.8995 MB / 423.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1002, allocations: 7.984 kB / 423.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1002, allocations: 0 / 423.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1003, allocations: 0 / 423.6 MB, free: 15.09 MB / 366.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.007323/0.1076, allocations: 2.129 MB / 425.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.1076, allocations: 12.03 kB / 425.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.1078, allocations: 87.94 kB / 425.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.1083, allocations: 477.8 kB / 426.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.1084, allocations: 49.38 kB / 426.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.1085, allocations: 60.38 kB / 426.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1097, allocations: 0.8391 MB / 427.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1097, allocations: 192 / 427.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.1097, allocations: 23.94 kB / 427.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1098, allocations: 15.98 kB / 427.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1109, allocations: 0.7809 MB / 428 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.115, allocations: 3.335 MB / 431.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.1167, allocations: 1.364 MB / 432.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.1175, allocations: 0.5878 MB / 433.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-05/0.1176, allocations: 28.91 kB / 433.3 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.1176, allocations: 43.56 kB / 433.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.155e-06/0.1176, allocations: 0 / 433.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.0137/0.1313, allocations: 3.969 MB / 437.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.1314, allocations: 111.8 kB / 437.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.1319, allocations: 437.7 kB / 437.9 MB, free: 208 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.942e-05/0.132, allocations: 45.7 kB / 437.9 MB, free: 156 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1436/0.2756, allocations: 231.2 kB / 438.2 MB, free: 56.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00034/0.276, allocations: 303.9 kB / 438.5 MB, free: 56.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.2763, allocations: 179.5 kB / 438.6 MB, free: 56.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.2764, allocations: 372.3 kB / 439 MB, free: 56.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/0.2772, allocations: 0.537 MB / 439.5 MB, free: 56.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.278, allocations: 0.6228 MB / 440.2 MB, free: 56.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.2795, allocations: 1.205 MB / 441.4 MB, free: 56.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2795, allocations: 0 / 441.4 MB, free: 56.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005584/0.2851, allocations: 2.385 MB / 443.7 MB, free: 55.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2851, allocations: 4.875 kB / 443.8 MB, free: 55.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2851, allocations: 0 / 443.8 MB, free: 55.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/0.291, allocations: 1.769 MB / 445.5 MB, free: 55.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.2915, allocations: 147.4 kB / 445.7 MB, free: 55.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.3019, allocations: 6.723 MB / 452.4 MB, free: 51.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.3025, allocations: 85.42 kB / 452.5 MB, free: 51.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.3025, allocations: 37.78 kB / 452.5 MB, free: 51.1 MB / 366.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.0002539/0.3028, allocations: 200.1 kB / 452.7 MB, free: 50.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3029, allocations: 67.53 kB / 452.8 MB, free: 50.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005382/0.3083, allocations: 2.331 MB / 455.1 MB, free: 50 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3083, allocations: 13.38 kB / 455.1 MB, free: 50 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.3083, allocations: 0 / 455.1 MB, free: 50 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3084, allocations: 10.64 kB / 455.1 MB, free: 49.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005842/0.3142, allocations: 3.315 MB / 458.4 MB, free: 48.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3142, allocations: 0 / 458.4 MB, free: 48.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.3145, allocations: 113.8 kB / 458.6 MB, free: 48.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005477/0.32, allocations: 1.499 MB / 460 MB, free: 48.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.3201, allocations: 25.84 kB / 460.1 MB, free: 48.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0099/0.33, allocations: 6.601 MB / 466.7 MB, free: 44.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.33, allocations: 0 / 466.7 MB, free: 44.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/0.335, allocations: 2.276 MB / 469 MB, free: 43.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3352, allocations: 153 kB / 469.1 MB, free: 43.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.3353, allocations: 22.06 kB / 469.1 MB, free: 43.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.3358, allocations: 58.5 kB / 469.2 MB, free: 43.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.336, allocations: 80.7 kB / 469.3 MB, free: 43.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.3361, allocations: 28.44 kB / 469.3 MB, free: 43.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.3363, allocations: 291.7 kB / 469.6 MB, free: 43.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3364, allocations: 0 / 469.6 MB, free: 43.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008607/0.3372, allocations: 341.8 kB / 469.9 MB, free: 42.96 MB / 366.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.000217/0.3374, allocations: 144 kB / 470 MB, free: 42.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003865/0.3413, allocations: 1.929 MB / 472 MB, free: 42.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.3413, allocations: 1.312 kB / 472 MB, free: 42.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.3442, allocations: 1.268 MB / 473.2 MB, free: 41.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.3447, allocations: 85.97 kB / 473.3 MB, free: 41.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.3471, allocations: 1.632 MB / 475 MB, free: 40.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3475, allocations: 0.9214 MB / 475.9 MB, free: 39.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.3478, allocations: 93.38 kB / 476 MB, free: 39.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.348, allocations: 61 kB / 476 MB, free: 39.68 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.348, allocations: 4 kB / 476 MB, free: 39.67 MB / 366.1 MB Notification: Performance of Templates: time 0.02631/0.3743, allocations: 21.23 MB / 497.3 MB, free: 34.13 MB / 366.1 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)