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-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.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.001286/0.001286, allocations: 119.2 kB / 17.13 MB, free: 5.938 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.001138/0.001138, allocations: 198.3 kB / 18.07 MB, free: 5.016 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.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04943/0.04943, allocations: 8.098 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.09046, allocations: 51.52 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.006172/0.09667, allocations: 4.765 MB / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005345/0.1021, allocations: 3.159 MB / 474.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007294/0.1028, allocations: 12 kB / 474.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.1039, allocations: 278.2 kB / 474.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.106, allocations: 0.5359 MB / 475.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.1092, allocations: 1.49 MB / 476.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.1112, allocations: 1.117 MB / 478 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006679/0.1119, allocations: 314.7 kB / 478.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008431/0.1127, allocations: 458.3 kB / 478.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.1138, allocations: 0.5485 MB / 479.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.1142, allocations: 88 kB / 479.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1154, allocations: 419.7 kB / 479.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.1158, allocations: 207.2 kB / 480 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008469/0.1167, allocations: 0.4936 MB / 480.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.1189, allocations: 1.285 MB / 481.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.119, allocations: 0 / 481.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.119, allocations: 0 / 481.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.582e-05/0.119, allocations: 0 / 481.8 MB, free: 2.945 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.01051/0.1295, allocations: 2.567 MB / 484.4 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1296, allocations: 15.89 kB / 484.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.13, allocations: 115.7 kB / 484.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.131, allocations: 0.5698 MB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.1312, allocations: 164.7 kB / 485.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.1314, allocations: 83.92 kB / 485.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.1334, allocations: 1.085 MB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1334, allocations: 7.875 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.1335, allocations: 32 kB / 486.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1336, allocations: 15.94 kB / 486.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.1353, allocations: 0.9851 MB / 487.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005771/0.1411, allocations: 4.041 MB / 491.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.1432, allocations: 1.592 MB / 493.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.1444, allocations: 0.7641 MB / 493.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.1446, allocations: 28.97 kB / 493.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/0.1462, allocations: 1.007 MB / 494.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.376e-06/0.1462, allocations: 0 / 494.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02306/0.1693, allocations: 5.618 MB / 0.4888 GB, free: 15.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.1695, allocations: 252.3 kB / 0.489 GB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/0.1703, allocations: 0.5417 MB / 0.4895 GB, free: 14.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.1705, allocations: 61.7 kB / 0.4896 GB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.1707, allocations: 281.9 kB / 0.4899 GB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.1711, allocations: 390.3 kB / 0.4902 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004169/0.1715, allocations: 226.9 kB / 0.4904 GB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1717, allocations: 390.8 kB / 0.4908 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.1728, allocations: 0.6586 MB / 0.4915 GB, free: 12.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.1739, allocations: 0.7555 MB / 0.4922 GB, free: 11.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/0.1919, allocations: 4.787 MB / 0.4969 GB, free: 7.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.1919, allocations: 0 / 0.4969 GB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004264/0.1962, allocations: 2.21 MB / 0.499 GB, free: 4.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.1963, allocations: 41.69 kB / 0.4991 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.1963, allocations: 0 / 0.4991 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00888/0.2052, allocations: 2.371 MB / 0.5014 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.2059, allocations: 163.7 kB / 0.5015 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004269/0.2102, allocations: 2.25 MB / 0.5037 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1891/0.3993, allocations: 141.6 kB / 0.5039 GB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.3995, allocations: 42.3 kB / 0.5039 GB, free: 46.89 MB / 382.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.0006349/0.4001, allocations: 298.9 kB / 0.5042 GB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.4004, allocations: 99.09 kB / 0.5043 GB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.4045, allocations: 2.41 MB / 0.5066 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.4046, allocations: 12.75 kB / 0.5067 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4046, allocations: 0.7969 kB / 0.5067 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.4046, allocations: 9.156 kB / 0.5067 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006279/0.4109, allocations: 4.191 MB / 0.5108 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4109, allocations: 1 kB / 0.5108 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.4113, allocations: 119.8 kB / 0.5109 GB, free: 44.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008554/0.4199, allocations: 2.128 MB / 0.513 GB, free: 44.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.4201, allocations: 36.11 kB / 0.513 GB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/0.425, allocations: 2.386 MB / 0.5153 GB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.425, allocations: 0.7031 kB / 0.5153 GB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/0.4299, allocations: 2.424 MB / 0.5177 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.4305, allocations: 343.3 kB / 0.518 GB, free: 41.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.4308, allocations: 38.36 kB / 0.518 GB, free: 41.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.4318, allocations: 111.6 kB / 0.5182 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.4321, allocations: 95.73 kB / 0.5182 GB, free: 41.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.4322, allocations: 46.09 kB / 0.5183 GB, free: 41.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005465/0.4328, allocations: 374.6 kB / 0.5186 GB, free: 40.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4328, allocations: 0 / 0.5186 GB, free: 40.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008787/0.4337, allocations: 332.9 kB / 0.519 GB, free: 40.89 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: 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.001072/0.4347, allocations: 488.1 kB / 0.5194 GB, free: 40.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004697/0.4394, allocations: 2.097 MB / 0.5215 GB, free: 39.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.4395, allocations: 3.406 kB / 0.5215 GB, free: 39.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00345/0.4429, allocations: 1.39 MB / 0.5228 GB, free: 39.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008897/0.4439, allocations: 117.9 kB / 0.523 GB, free: 39.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.4467, allocations: 1.795 MB / 0.5247 GB, free: 38.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.447, allocations: 0.9675 MB / 0.5256 GB, free: 37.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.4472, allocations: 82.67 kB / 0.5257 GB, free: 37.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4472, allocations: 0 / 0.5257 GB, free: 37.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01504/0.4622, allocations: 16.33 MB / 0.5417 GB, free: 22.8 MB / 382.1 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)