Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004085/0.004085, allocations: 93.2 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.0009825/0.0009825, allocations: 201 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.207/1.207, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1367/0.1367, allocations: 8.094 MB / 298.7 MB, free: 2.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 59.91 kB / 361 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08668, allocations: 51.52 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.005502/0.09222, allocations: 5.874 MB / 418.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.0955, allocations: 2.33 MB / 420.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.09585, allocations: 20 kB / 420.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.09646, allocations: 258.7 kB / 421 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.09751, allocations: 0.54 MB / 421.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.09986, allocations: 1.397 MB / 423 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.1012, allocations: 1.248 MB / 424.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.1016, allocations: 342.4 kB / 424.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004527/0.1021, allocations: 0.5058 MB / 425 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.1027, allocations: 0.6806 MB / 425.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.1028, allocations: 76 kB / 425.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.1034, allocations: 299.8 kB / 426.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.1036, allocations: 238.9 kB / 426.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.1041, allocations: 0.5867 MB / 426.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.1052, allocations: 1.374 MB / 428.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1052, allocations: 0 / 428.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1052, allocations: 4 kB / 428.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1052, allocations: 0 / 428.3 MB, free: 10.36 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01145/0.1167, allocations: 3.154 MB / 431.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1168, allocations: 12.03 kB / 431.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.117, allocations: 131.4 kB / 431.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.1179, allocations: 0.6756 MB / 432.3 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.118, allocations: 78.36 kB / 432.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.1181, allocations: 96.38 kB / 432.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.1202, allocations: 1.35 MB / 433.8 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1202, allocations: 3.938 kB / 433.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.1203, allocations: 32 kB / 433.8 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.1203, allocations: 20 kB / 433.8 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.1222, allocations: 1.277 MB / 435.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1655/0.2877, allocations: 5.233 MB / 440.3 MB, free: 54.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.29, allocations: 3.11 MB / 443.5 MB, free: 53.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.2911, allocations: 0.9747 MB / 444.4 MB, free: 52.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.2913, allocations: 36.88 kB / 444.5 MB, free: 52.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.2914, allocations: 58.7 kB / 444.5 MB, free: 52.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 5.079e-06/0.2914, allocations: 3.906 kB / 444.5 MB, free: 52.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02484/0.3162, allocations: 7.063 MB / 451.6 MB, free: 51.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.3163, allocations: 121.3 kB / 451.7 MB, free: 51.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/0.3171, allocations: 0.6389 MB / 452.4 MB, free: 50.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.3172, allocations: 63.11 kB / 452.4 MB, free: 50.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3174, allocations: 338.5 kB / 452.7 MB, free: 50.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.3177, allocations: 0.495 MB / 453.2 MB, free: 50.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/0.3181, allocations: 273.5 kB / 453.5 MB, free: 50.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.3182, allocations: 357.4 kB / 453.9 MB, free: 49.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.3193, allocations: 0.8558 MB / 454.7 MB, free: 49.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.3204, allocations: 0.9754 MB / 455.7 MB, free: 48.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.3227, allocations: 1.939 MB / 457.6 MB, free: 47.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3228, allocations: 0 / 457.6 MB, free: 47.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008709/0.3315, allocations: 3.818 MB / 461.4 MB, free: 46.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3315, allocations: 8.406 kB / 461.5 MB, free: 46.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3315, allocations: 4 kB / 461.5 MB, free: 46.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.3416, allocations: 3.934 MB / 465.4 MB, free: 45.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.3424, allocations: 229.6 kB / 465.6 MB, free: 45.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/0.3599, allocations: 10.44 MB / 476 MB, free: 40.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.3609, allocations: 134.1 kB / 476.2 MB, free: 39.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3611, allocations: 52.95 kB / 476.2 MB, free: 39.96 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 (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,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004165/0.3615, allocations: 264.1 kB / 476.5 MB, free: 39.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.3617, allocations: 112.9 kB / 476.6 MB, free: 39.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008904/0.3706, allocations: 3.793 MB / 480.4 MB, free: 38.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.3707, allocations: 20.5 kB / 480.4 MB, free: 38.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3707, allocations: 3.828 kB / 480.4 MB, free: 38.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.3707, allocations: 6.891 kB / 480.4 MB, free: 38.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.3816, allocations: 5.319 MB / 485.7 MB, free: 35.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.3816, allocations: 0.7031 kB / 485.7 MB, free: 35.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.3823, allocations: 179.9 kB / 485.9 MB, free: 35.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/0.3924, allocations: 2.731 MB / 488.7 MB, free: 35.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.3927, allocations: 31.03 kB / 488.7 MB, free: 35.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0182/0.4109, allocations: 10.24 MB / 498.9 MB, free: 29.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.411, allocations: 3.938 kB / 498.9 MB, free: 29.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008963/0.4199, allocations: 3.66 MB / 0.4908 GB, free: 27.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.4203, allocations: 198.8 kB / 0.491 GB, free: 27.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.4205, allocations: 31.23 kB / 0.491 GB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/0.4214, allocations: 94.22 kB / 0.4911 GB, free: 27.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005692/0.422, allocations: 130.1 kB / 0.4912 GB, free: 27.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.4221, allocations: 52 kB / 0.4913 GB, free: 27.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004758/0.4226, allocations: 437.5 kB / 0.4917 GB, free: 26.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4226, allocations: 0 / 0.4917 GB, free: 26.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001372/0.424, allocations: 0.5358 MB / 0.4922 GB, free: 26.18 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 (106): * Single equations (assignments): 105 * 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,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000254/0.4242, allocations: 151.6 kB / 0.4924 GB, free: 26.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006046/0.4303, allocations: 3.13 MB / 0.4954 GB, free: 23.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.4303, allocations: 0.6562 kB / 0.4954 GB, free: 23.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004702/0.435, allocations: 2.05 MB / 0.4974 GB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.436, allocations: 145.8 kB / 0.4976 GB, free: 20.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.4393, allocations: 2.595 MB / 0.5001 GB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.4397, allocations: 1.092 MB / 0.5012 GB, free: 17.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004929/0.4402, allocations: 150.2 kB / 0.5013 GB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.4404, allocations: 91.34 kB / 0.5014 GB, free: 17.03 MB / 366.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4404, allocations: 0 / 0.5014 GB, free: 17.03 MB / 366.1 MB Notification: Performance of Templates: time 0.03899/0.4794, allocations: 34.58 MB / 0.5352 GB, free: 14.58 MB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)