Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.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.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") translateModel(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 102.6 kB / 16.07 MB, free: 32 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.001312/0.001313, allocations: 180.9 kB / 16.96 MB, free: 6.902 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.53/1.53, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1786/0.1786, allocations: 8.086 MB / 300.2 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 12 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 52.5 MB / 416 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005096/0.1337, allocations: 4.303 MB / 420.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005683/0.1394, allocations: 3.132 MB / 423.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.1404, allocations: 12 kB / 423.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.1416, allocations: 222.9 kB / 423.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.1438, allocations: 0.4897 MB / 424.1 MB, free: 220 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2245/0.3683, allocations: 1.389 MB / 425.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.37, allocations: 1.031 MB / 426.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.3705, allocations: 265.5 kB / 426.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004389/0.3709, allocations: 389.3 kB / 427.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.3715, allocations: 0.496 MB / 427.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-05/0.3716, allocations: 44.56 kB / 427.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.3724, allocations: 365.5 kB / 428.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3725, allocations: 174.5 kB / 428.3 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.373, allocations: 482.8 kB / 428.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3741, allocations: 1.21 MB / 430 MB, free: 34.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3741, allocations: 0 / 430 MB, free: 34.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3741, allocations: 0 / 430 MB, free: 34.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3741, allocations: 0 / 430 MB, free: 34.8 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.009145/0.3833, allocations: 2.424 MB / 432.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3833, allocations: 9.656 kB / 432.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.3837, allocations: 106.1 kB / 432.5 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/0.3846, allocations: 0.5772 MB / 433.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3848, allocations: 172.3 kB / 433.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.3849, allocations: 72.09 kB / 433.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.3872, allocations: 1.106 MB / 434.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.3872, allocations: 1.078 kB / 434.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.3873, allocations: 36.11 kB / 434.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.3874, allocations: 13.06 kB / 434.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.3889, allocations: 0.9906 MB / 435.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.3944, allocations: 4.122 MB / 439.6 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.3964, allocations: 1.6 MB / 441.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.3974, allocations: 0.7666 MB / 441.9 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.3976, allocations: 30.88 kB / 442 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.3992, allocations: 1.005 MB / 443 MB, free: 30.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=123): time 4.278e-06/0.3992, allocations: 4 kB / 443 MB, free: 30.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.02261/0.4218, allocations: 5.652 MB / 448.6 MB, free: 28.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.422, allocations: 255.6 kB / 448.9 MB, free: 28.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000973/0.4229, allocations: 0.5393 MB / 449.4 MB, free: 27.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.4232, allocations: 54.98 kB / 449.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.4235, allocations: 284 kB / 449.8 MB, free: 27.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.4239, allocations: 397.6 kB / 450.1 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.4241, allocations: 119.1 kB / 450.3 MB, free: 27.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4242, allocations: 397.6 kB / 450.6 MB, free: 26.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.4253, allocations: 0.6589 MB / 451.3 MB, free: 26.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.4264, allocations: 0.7558 MB / 452.1 MB, free: 26.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01744/0.4438, allocations: 4.926 MB / 457 MB, free: 24.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4438, allocations: 0 / 457 MB, free: 24.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003944/0.4478, allocations: 2.224 MB / 459.2 MB, free: 23.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.4479, allocations: 37.73 kB / 459.2 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4479, allocations: 0 / 459.2 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009212/0.4571, allocations: 2.385 MB / 461.6 MB, free: 23.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008777/0.458, allocations: 162.6 kB / 461.8 MB, free: 23.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.4627, allocations: 2.255 MB / 464 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4642, allocations: 164.3 kB / 464.2 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.4645, allocations: 42.06 kB / 464.2 MB, free: 21.8 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,$PRE.HVMV.tapChanger.abnormalUTime,varLoad4.degradedMode,$PRE.varLoad4.degradedMode,varLoad3.degradedMode,$PRE.varLoad3.degradedMode,varLoad2.degradedMode,$PRE.varLoad2.degradedMode,varLoad1.degradedMode,$PRE.varLoad1.degradedMode,HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.normalU,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {(20,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0008939/0.4654, allocations: 286.9 kB / 464.5 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.4658, allocations: 98.5 kB / 464.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/0.4706, allocations: 2.436 MB / 467.1 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.4706, allocations: 16.38 kB / 467.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.4707, allocations: 0 / 467.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.4707, allocations: 7.375 kB / 467.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007702/0.4784, allocations: 4.228 MB / 471.3 MB, free: 18.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4784, allocations: 1.375 kB / 471.3 MB, free: 18.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.4789, allocations: 120.9 kB / 471.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009376/0.4883, allocations: 2.179 MB / 473.6 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/0.4887, allocations: 32.94 kB / 473.6 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/0.4939, allocations: 2.381 MB / 476 MB, free: 16.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.494, allocations: 0 / 476 MB, free: 16.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/0.4992, allocations: 2.438 MB / 478.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000782/0.5, allocations: 352.5 kB / 478.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.5004, allocations: 42.22 kB / 478.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.5017, allocations: 126.1 kB / 479 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.502, allocations: 100.5 kB / 479.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.5021, allocations: 54.95 kB / 479.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007018/0.5029, allocations: 377.7 kB / 479.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5029, allocations: 0 / 479.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001312/0.5042, allocations: 330.9 kB / 479.8 MB, free: 14.46 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: 18 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,HVMV.tapChanger.tap,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.furtherTapChangeTimeout,varLoad1.degradedMode,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode) * Number of discrete states: 14 (HVMV.tapChanger.tap,HVMV.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,HVMV.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.normalU,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode,varLoad1.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {(20,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.5053, allocations: 479.5 kB / 480.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005014/0.5103, allocations: 2.079 MB / 482.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.5104, allocations: 7.219 kB / 482.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0036/0.514, allocations: 1.369 MB / 483.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.5151, allocations: 117.4 kB / 483.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.5186, allocations: 2.133 MB / 486 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.5191, allocations: 0.9699 MB / 487 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005094/0.5196, allocations: 120 kB / 487.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.5198, allocations: 73.89 kB / 487.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5198, allocations: 0 / 487.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of Templates: time 0.034/0.5538, allocations: 19.72 MB / 0.495 GB, free: 6.566 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.sim & ./PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe 2>&1) Environment - environmentSimulation: