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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001401/0.001402, allocations: 104.5 kB / 16.98 MB, free: 6.137 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.001836/0.001836, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.385/1.385, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05546/0.05546, allocations: 8.093 MB / 299.9 MB, free: 6.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.0015, allocations: 67.89 kB / 362.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2288, allocations: 51.51 MB / 413.9 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003694/0.2326, allocations: 3.852 MB / 417.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.2351, allocations: 1.954 MB / 419.7 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.2354, allocations: 12 kB / 419.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.2359, allocations: 230.5 kB / 420 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007303/0.2367, allocations: 389.5 kB / 420.3 MB, free: 19.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.2386, allocations: 1.31 MB / 421.6 MB, free: 17.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.2393, allocations: 0.7737 MB / 422.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.2396, allocations: 249.5 kB / 422.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.2399, allocations: 338.7 kB / 423 MB, free: 16.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.2403, allocations: 426.2 kB / 423.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.2404, allocations: 64 kB / 423.5 MB, free: 16.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.2409, allocations: 299.8 kB / 423.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.241, allocations: 155.4 kB / 423.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.2412, allocations: 386 kB / 424.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007061/0.2419, allocations: 0.9267 MB / 425.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2419, allocations: 3.984 kB / 425.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2419, allocations: 0 / 425.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.2419, allocations: 0 / 425.2 MB, free: 14.25 MB / 302.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.007549/0.2495, allocations: 2.129 MB / 427.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2496, allocations: 11.89 kB / 427.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.2497, allocations: 84.03 kB / 427.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.2502, allocations: 489.7 kB / 427.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2503, allocations: 41.38 kB / 428 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.2504, allocations: 64.36 kB / 428 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.2514, allocations: 0.8391 MB / 428.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2514, allocations: 4.188 kB / 428.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.2515, allocations: 27.94 kB / 428.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2515, allocations: 12 kB / 428.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.2524, allocations: 0.7809 MB / 429.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.2559, allocations: 3.334 MB / 433 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.2572, allocations: 1.36 MB / 434.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.2579, allocations: 0.5887 MB / 435 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-05/0.258, allocations: 28.91 kB / 435 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.258, allocations: 51.5 kB / 435.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 2.655e-06/0.258, allocations: 0 / 435.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=89): time 0.01379/0.2718, allocations: 3.958 MB / 439 MB, free: 15.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.2719, allocations: 115.8 kB / 439.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.2725, allocations: 437.7 kB / 439.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.2727, allocations: 49.7 kB / 439.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.2729, allocations: 237.5 kB / 439.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.2732, allocations: 299.5 kB / 440.1 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003236/0.2735, allocations: 178.6 kB / 440.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2737, allocations: 374.8 kB / 440.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/0.2745, allocations: 0.5369 MB / 441.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009067/0.2754, allocations: 0.6146 MB / 441.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.2772, allocations: 1.213 MB / 443 MB, free: 11.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2772, allocations: 0 / 443 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00632/0.2835, allocations: 2.382 MB / 445.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.2836, allocations: 4 kB / 445.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.2836, allocations: 4 kB / 445.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006709/0.2903, allocations: 1.776 MB / 447.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.291, allocations: 147.8 kB / 447.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.3048, allocations: 7.37 MB / 454.7 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/0.3057, allocations: 87.2 kB / 454.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.3058, allocations: 32 kB / 454.8 MB, free: 15.89 MB / 334.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.0003414/0.3061, allocations: 209.7 kB / 455 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.3063, allocations: 71.09 kB / 455.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006206/0.3125, allocations: 2.323 MB / 457.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.3125, allocations: 12 kB / 457.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3125, allocations: 7.938 kB / 457.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.3126, allocations: 3.984 kB / 457.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007275/0.3198, allocations: 3.324 MB / 460.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.3199, allocations: 4 kB / 460.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.3203, allocations: 107.8 kB / 460.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006403/0.3267, allocations: 1.514 MB / 462.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.3268, allocations: 23.94 kB / 462.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.3403, allocations: 7.241 MB / 469.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3404, allocations: 0 / 469.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006174/0.3465, allocations: 2.287 MB / 471.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.3468, allocations: 156 kB / 472.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.347, allocations: 23.98 kB / 472.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.3477, allocations: 47.97 kB / 472.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.348, allocations: 72.89 kB / 472.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.348, allocations: 31.98 kB / 472.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003918/0.3484, allocations: 295.1 kB / 472.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3485, allocations: 0 / 472.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001053/0.3495, allocations: 343.8 kB / 472.9 MB, free: 13.54 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.0002689/0.3498, allocations: 139.1 kB / 473 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005047/0.3549, allocations: 2.008 MB / 475 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.3549, allocations: 4 kB / 475 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/0.3584, allocations: 1.299 MB / 476.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.3591, allocations: 85.83 kB / 476.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.3617, allocations: 1.408 MB / 477.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.3622, allocations: 0.9218 MB / 478.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3624, allocations: 63.41 kB / 478.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3624, allocations: 0 / 478.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of Templates: time 0.01948/0.3819, allocations: 14.08 MB / 492.9 MB, free: 9.445 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)