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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001112, allocations: 186.9 kB / 16.68 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009337/0.0009337, allocations: 94.41 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05269/0.05269, allocations: 8.094 MB / 348.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 55.45 kB / 411.1 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09756, allocations: 51.51 MB / 462.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004839/0.1025, allocations: 4.743 MB / 467.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.1069, allocations: 3.162 MB / 470.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005561/0.1075, allocations: 12 kB / 470.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.1082, allocations: 230.9 kB / 470.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.1094, allocations: 493.5 kB / 471.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.1119, allocations: 1.422 MB / 472.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.1133, allocations: 1.051 MB / 473.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.1137, allocations: 267.8 kB / 474 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.1141, allocations: 426.3 kB / 474.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.1148, allocations: 0.5212 MB / 474.9 MB, free: 9.711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.1149, allocations: 60 kB / 475 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.1157, allocations: 383.7 kB / 475.3 MB, free: 9.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1158, allocations: 191.1 kB / 475.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.1163, allocations: 481.4 kB / 476 MB, free: 8.617 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.1175, allocations: 1.238 MB / 477.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1175, allocations: 0 / 477.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1175, allocations: 0 / 477.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1175, allocations: 0 / 477.2 MB, free: 7.375 MB / 314.7 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.009692/0.1272, allocations: 2.567 MB / 479.8 MB, free: 4.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1273, allocations: 8.031 kB / 479.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.1275, allocations: 111.8 kB / 479.9 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/0.1284, allocations: 0.5814 MB / 480.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1285, allocations: 172.7 kB / 480.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1287, allocations: 75.94 kB / 480.7 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.1305, allocations: 1.085 MB / 481.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1305, allocations: 0 / 481.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/0.1306, allocations: 28 kB / 481.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.1306, allocations: 16 kB / 481.9 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.1322, allocations: 0.9851 MB / 482.8 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.197/0.3292, allocations: 4.058 MB / 486.9 MB, free: 25.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.3312, allocations: 1.594 MB / 488.5 MB, free: 24.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.3323, allocations: 0.764 MB / 489.3 MB, free: 24.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.3325, allocations: 24 kB / 489.3 MB, free: 24.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.334, allocations: 1.002 MB / 490.3 MB, free: 23.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=123): time 3.417e-06/0.334, allocations: 0 / 490.3 MB, free: 23.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.02255/0.3566, allocations: 5.614 MB / 495.9 MB, free: 22.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.3567, allocations: 257 kB / 496.2 MB, free: 22.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000729/0.3574, allocations: 0.5347 MB / 496.7 MB, free: 21.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.3576, allocations: 55.73 kB / 496.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.3577, allocations: 292.4 kB / 497 MB, free: 21.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.358, allocations: 394.7 kB / 497.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.3584, allocations: 223.5 kB / 497.6 MB, free: 21.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.3585, allocations: 393.8 kB / 498 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.3595, allocations: 0.6474 MB / 498.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.3606, allocations: 0.7628 MB / 499.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/0.3778, allocations: 4.788 MB / 0.4924 GB, free: 17.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3778, allocations: 0 / 0.4924 GB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004059/0.3819, allocations: 2.209 MB / 0.4946 GB, free: 16.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.382, allocations: 47.69 kB / 0.4946 GB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.382, allocations: 0 / 0.4946 GB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008555/0.3906, allocations: 2.37 MB / 0.4969 GB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.3913, allocations: 165.8 kB / 0.4971 GB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.3952, allocations: 2.255 MB / 0.4993 GB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.3964, allocations: 150.8 kB / 0.4994 GB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.3966, allocations: 43.98 kB / 0.4995 GB, free: 13.52 MB / 314.7 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.0006234/0.3972, allocations: 293.6 kB / 0.4997 GB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.3975, allocations: 94.97 kB / 0.4998 GB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.4012, allocations: 2.416 MB / 0.5022 GB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4012, allocations: 15.5 kB / 0.5022 GB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4012, allocations: 3.984 kB / 0.5022 GB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4012, allocations: 3.984 kB / 0.5022 GB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00552/0.4067, allocations: 4.2 MB / 0.5063 GB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.4068, allocations: 0 / 0.5063 GB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.4072, allocations: 116.8 kB / 0.5064 GB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008222/0.4154, allocations: 2.164 MB / 0.5085 GB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.4156, allocations: 39.92 kB / 0.5086 GB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.4197, allocations: 2.387 MB / 0.5109 GB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4197, allocations: 0 / 0.5109 GB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/0.4253, allocations: 4.018 MB / 0.5148 GB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.4259, allocations: 343.5 kB / 0.5152 GB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.4262, allocations: 39.98 kB / 0.5152 GB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.4273, allocations: 101.4 kB / 0.5153 GB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.4276, allocations: 100.6 kB / 0.5154 GB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.4277, allocations: 47.98 kB / 0.5154 GB, free: 12.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005148/0.4282, allocations: 378.8 kB / 0.5158 GB, free: 12.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4283, allocations: 0 / 0.5158 GB, free: 12.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009703/0.4292, allocations: 336.5 kB / 0.5161 GB, free: 12.29 MB / 330.7 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.001099/0.4303, allocations: 473 kB / 0.5166 GB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005083/0.4354, allocations: 2.072 MB / 0.5186 GB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.4355, allocations: 4.656 kB / 0.5186 GB, free: 9.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003532/0.439, allocations: 1.37 MB / 0.5199 GB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/0.4399, allocations: 118 kB / 0.52 GB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.4441, allocations: 2.732 MB / 0.5227 GB, free: 5.652 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.4447, allocations: 1.001 MB / 0.5237 GB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.4451, allocations: 110.1 kB / 0.5238 GB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.4453, allocations: 75.34 kB / 0.5239 GB, free: 4.441 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4453, allocations: 0 / 0.5239 GB, free: 4.441 MB / 330.7 MB Notification: Performance of Templates: time 0.03178/0.4771, allocations: 21.14 MB / 0.5445 GB, free: 15.41 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile (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)