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.00472/0.00472, allocations: 89 kB / 15.91 MB, free: 6.309 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.001052/0.001052, allocations: 198.5 kB / 16.83 MB, free: 6.238 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.199/1.199, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1434/0.1434, allocations: 8.084 MB / 298.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 59.91 kB / 361 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08594/0.08699, allocations: 51.5 MB / 412.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005078/0.0921, allocations: 4.742 MB / 417.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.09618, allocations: 3.155 MB / 420.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005348/0.09674, allocations: 15.94 kB / 420.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008474/0.0976, allocations: 238.9 kB / 420.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.0992, allocations: 493.2 kB / 421.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.1017, allocations: 1.424 MB / 422.6 MB, free: 124 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.1031, allocations: 1.035 MB / 423.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.1036, allocations: 267.7 kB / 423.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.1041, allocations: 418.3 kB / 424.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007277/0.1048, allocations: 0.5212 MB / 424.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.1051, allocations: 60 kB / 424.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008602/0.1059, allocations: 387.7 kB / 425.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.1062, allocations: 191.1 kB / 425.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.1068, allocations: 465.5 kB / 425.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.1083, allocations: 1.246 MB / 427.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1083, allocations: 0 / 427.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1084, allocations: 0 / 427.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.256e-05/0.1084, allocations: 4 kB / 427.1 MB, free: 11.54 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.00951/0.1179, allocations: 2.567 MB / 429.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.118, allocations: 8.031 kB / 429.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.1182, allocations: 111.8 kB / 429.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/0.119, allocations: 0.5813 MB / 430.4 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1191, allocations: 168.7 kB / 430.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.1192, allocations: 79.94 kB / 430.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.121, allocations: 1.081 MB / 431.7 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.121, allocations: 4 kB / 431.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/0.1211, allocations: 31.98 kB / 431.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1211, allocations: 16 kB / 431.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.1227, allocations: 0.9851 MB / 432.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004985/0.1277, allocations: 4.06 MB / 436.8 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1535/0.2812, allocations: 1.579 MB / 438.4 MB, free: 55.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.2825, allocations: 0.7619 MB / 439.2 MB, free: 55.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.2826, allocations: 27.75 kB / 439.2 MB, free: 55.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.284, allocations: 1.001 MB / 440.2 MB, free: 55.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.076e-06/0.284, allocations: 1.594 kB / 440.2 MB, free: 55.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.0191/0.3031, allocations: 5.617 MB / 445.8 MB, free: 54.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.3032, allocations: 255.9 kB / 446.1 MB, free: 54.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.3038, allocations: 0.5401 MB / 446.6 MB, free: 54.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3039, allocations: 59.64 kB / 446.7 MB, free: 54.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.304, allocations: 283 kB / 446.9 MB, free: 54.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.3043, allocations: 395.6 kB / 447.3 MB, free: 53.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.3046, allocations: 220.2 kB / 447.5 MB, free: 53.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.3047, allocations: 396.9 kB / 447.9 MB, free: 53.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008469/0.3055, allocations: 0.6578 MB / 448.6 MB, free: 53.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.3064, allocations: 0.7557 MB / 449.3 MB, free: 52.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/0.322, allocations: 4.776 MB / 454.1 MB, free: 51.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3221, allocations: 4 kB / 454.1 MB, free: 51.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003304/0.3254, allocations: 2.208 MB / 456.3 MB, free: 50.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.3255, allocations: 35.19 kB / 456.4 MB, free: 50.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3255, allocations: 3.938 kB / 456.4 MB, free: 50.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007923/0.3334, allocations: 2.378 MB / 458.7 MB, free: 49.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.334, allocations: 156.2 kB / 458.9 MB, free: 49.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.3377, allocations: 2.255 MB / 461.2 MB, free: 48.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/0.3386, allocations: 143.4 kB / 461.3 MB, free: 48.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.3387, allocations: 44.95 kB / 461.3 MB, free: 48.26 MB / 366.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.0005101/0.3392, allocations: 308.9 kB / 461.6 MB, free: 48.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.3394, allocations: 95.03 kB / 461.7 MB, free: 47.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/0.3428, allocations: 2.412 MB / 464.1 MB, free: 46.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.3428, allocations: 12.91 kB / 464.2 MB, free: 46.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3428, allocations: 0.5625 kB / 464.2 MB, free: 46.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3429, allocations: 10.98 kB / 464.2 MB, free: 46.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/0.3483, allocations: 4.202 MB / 468.4 MB, free: 44.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3484, allocations: 0 / 468.4 MB, free: 44.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.3488, allocations: 117.9 kB / 468.5 MB, free: 44.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008104/0.3569, allocations: 2.16 MB / 470.6 MB, free: 44.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.3571, allocations: 35.3 kB / 470.7 MB, free: 44.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00417/0.3613, allocations: 2.388 MB / 473.1 MB, free: 42.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3613, allocations: 3.938 kB / 473.1 MB, free: 42.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/0.3652, allocations: 2.43 MB / 475.5 MB, free: 41.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.3656, allocations: 341 kB / 475.8 MB, free: 41.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.3658, allocations: 34.03 kB / 475.9 MB, free: 41.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009214/0.3667, allocations: 105.2 kB / 476 MB, free: 41.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.367, allocations: 96.73 kB / 476.1 MB, free: 41.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.3671, allocations: 51.31 kB / 476.1 MB, free: 41.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004192/0.3675, allocations: 376.8 kB / 476.5 MB, free: 41.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3675, allocations: 0 / 476.5 MB, free: 41.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007761/0.3683, allocations: 330.5 kB / 476.8 MB, free: 41.01 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: 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.0009558/0.3692, allocations: 479.9 kB / 477.3 MB, free: 40.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.3738, allocations: 2.075 MB / 479.3 MB, free: 39.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.3738, allocations: 6.562 kB / 479.4 MB, free: 39.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003213/0.377, allocations: 1.37 MB / 480.7 MB, free: 39.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/0.3778, allocations: 127.8 kB / 480.9 MB, free: 39.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.3806, allocations: 2.102 MB / 483 MB, free: 38.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.3809, allocations: 0.9735 MB / 483.9 MB, free: 37.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003632/0.3813, allocations: 115.3 kB / 484 MB, free: 37.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.3814, allocations: 71.17 kB / 484.1 MB, free: 37.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3814, allocations: 0 / 484.1 MB, free: 37.34 MB / 366.1 MB Notification: Performance of Templates: time 0.02427/0.4057, allocations: 19.9 MB / 0.4922 GB, free: 27.28 MB / 366.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)