Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 106.7 kB / 16.57 MB, free: 6.719 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.001266/0.001266, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.379/1.379, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04705/0.04705, allocations: 8.094 MB / 299.4 MB, free: 6.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 361.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2418, allocations: 51.51 MB / 413.2 MB, free: 25.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004695/0.2466, allocations: 6.067 MB / 419.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.25, allocations: 2.445 MB / 421.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007548/0.2508, allocations: 20 kB / 421.7 MB, free: 17.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.2516, allocations: 266.7 kB / 422 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.253, allocations: 0.579 MB / 422.6 MB, free: 16.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.2554, allocations: 1.437 MB / 424 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.2567, allocations: 1.361 MB / 425.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.2572, allocations: 455.2 kB / 425.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.2577, allocations: 0.5329 MB / 426.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/0.2583, allocations: 0.6924 MB / 427 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.2584, allocations: 84 kB / 427.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006324/0.2591, allocations: 319.7 kB / 427.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.2592, allocations: 250.8 kB / 427.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.2597, allocations: 0.6374 MB / 428.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009887/0.2607, allocations: 1.423 MB / 429.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2607, allocations: 4 kB / 429.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2607, allocations: 0 / 429.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.2607, allocations: 0 / 429.7 MB, free: 9.23 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01258/0.2733, allocations: 3.24 MB / 433 MB, free: 5.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2734, allocations: 15.91 kB / 433 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.2737, allocations: 139.3 kB / 433.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.2747, allocations: 0.7692 MB / 433.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.2748, allocations: 74.38 kB / 434 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.2749, allocations: 104.4 kB / 434.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.277, allocations: 1.518 MB / 435.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.277, allocations: 192 / 435.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.2772, allocations: 43.94 kB / 435.6 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.2772, allocations: 23.98 kB / 435.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.2791, allocations: 1.468 MB / 437.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007812/0.287, allocations: 6.022 MB / 443.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.2906, allocations: 3.761 MB / 446.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.2922, allocations: 1.105 MB / 448 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.2924, allocations: 37.27 kB / 448.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.2924, allocations: 60.11 kB / 448.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 4.168e-06/0.2924, allocations: 0 / 448.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.03361/0.326, allocations: 8.274 MB / 456.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.3262, allocations: 124.1 kB / 456.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3272, allocations: 0.6682 MB / 457.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002954/0.3275, allocations: 65.7 kB / 457.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.3278, allocations: 350.2 kB / 457.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004984/0.3283, allocations: 0.4966 MB / 458.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005121/0.3288, allocations: 283.6 kB / 458.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3289, allocations: 345.9 kB / 458.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.3305, allocations: 0.9646 MB / 459.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.3321, allocations: 1.082 MB / 460.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.3354, allocations: 2.158 MB / 462.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.3355, allocations: 4 kB / 462.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01097/0.3464, allocations: 4.119 MB / 467 MB, free: 2.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.3465, allocations: 8 kB / 467 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.3465, allocations: 0 / 467 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01248/0.359, allocations: 4.196 MB / 471.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.3601, allocations: 231.6 kB / 471.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/0.3831, allocations: 11.98 MB / 483.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3844, allocations: 138.5 kB / 483.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.3845, allocations: 55.97 kB / 483.6 MB, free: 2.141 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 (135): * Single equations (assignments): 134 * 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 {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0005539/0.3851, allocations: 306.1 kB / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.3853, allocations: 110.7 kB / 484 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.3959, allocations: 4.082 MB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.396, allocations: 20 kB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.396, allocations: 0 / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.3961, allocations: 7.969 kB / 488.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.4089, allocations: 6.003 MB / 494.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.4089, allocations: 4 kB / 494.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.4096, allocations: 171.7 kB / 494.3 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/0.4205, allocations: 2.895 MB / 497.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/0.4208, allocations: 36 kB / 497.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/0.4417, allocations: 11.76 MB / 0.4971 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4417, allocations: 0 / 0.4971 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009726/0.4514, allocations: 3.94 MB / 0.5009 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.4518, allocations: 211.2 kB / 0.5011 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.452, allocations: 27.98 kB / 0.5012 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009529/0.4529, allocations: 91.88 kB / 0.5012 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/0.4534, allocations: 134.3 kB / 0.5014 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.4535, allocations: 51.98 kB / 0.5014 GB, free: 4.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000607/0.4541, allocations: 463 kB / 0.5019 GB, free: 3.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4541, allocations: 3.938 kB / 0.5019 GB, free: 3.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001458/0.4556, allocations: 0.5543 MB / 0.5024 GB, free: 3.016 MB / 382.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 (105): * Single equations (assignments): 104 * 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 {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002919/0.4559, allocations: 159.8 kB / 0.5026 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2005/0.6564, allocations: 3.368 MB / 0.5058 GB, free: 92.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.6564, allocations: 2.812 kB / 0.5058 GB, free: 92.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006655/0.6631, allocations: 2.208 MB / 0.508 GB, free: 92.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.6643, allocations: 146.2 kB / 0.5081 GB, free: 92.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.6692, allocations: 2.893 MB / 0.511 GB, free: 90.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.6699, allocations: 1.1 MB / 0.512 GB, free: 90.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.6703, allocations: 98.8 kB / 0.5121 GB, free: 90.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6703, allocations: 0 / 0.5121 GB, free: 90.24 MB / 382.1 MB Notification: Performance of Templates: time 0.03246/0.7028, allocations: 25.22 MB / 0.5368 GB, free: 72.19 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)