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.001417/0.001418, allocations: 107.1 kB / 16.57 MB, free: 6.73 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.001689/0.001689, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.344/1.344, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05497/0.05497, allocations: 8.099 MB / 299.4 MB, free: 6.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 361.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2281, allocations: 51.52 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004307/0.2324, allocations: 4.727 MB / 417.9 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.2361, allocations: 3.155 MB / 421.1 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.2366, allocations: 12 kB / 421.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.2373, allocations: 242.9 kB / 421.3 MB, free: 17.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.2384, allocations: 489.5 kB / 421.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.2405, allocations: 1.422 MB / 423.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008682/0.2413, allocations: 1.035 MB / 424.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.2417, allocations: 267.9 kB / 424.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.242, allocations: 418.3 kB / 424.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.2424, allocations: 0.5251 MB / 425.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.2425, allocations: 60 kB / 425.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006809/0.2432, allocations: 379.7 kB / 425.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.2434, allocations: 191.1 kB / 426.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.2437, allocations: 469.5 kB / 426.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.2445, allocations: 0.9355 MB / 427.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2445, allocations: 0 / 427.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2445, allocations: 3.938 kB / 427.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.2445, allocations: 0 / 427.5 MB, free: 11.5 MB / 302.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.009318/0.2539, allocations: 2.582 MB / 430.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2539, allocations: 11.97 kB / 430.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.2541, allocations: 111.8 kB / 430.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.2548, allocations: 0.5736 MB / 430.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.989e-05/0.2549, allocations: 172.7 kB / 430.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.2551, allocations: 79.94 kB / 431 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.2566, allocations: 1.081 MB / 432.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2567, allocations: 0 / 432.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/0.2568, allocations: 31.98 kB / 432.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.2568, allocations: 16 kB / 432.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.2582, allocations: 0.9851 MB / 433.1 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.2625, allocations: 4.06 MB / 437.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.2642, allocations: 1.587 MB / 438.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.2653, allocations: 0.7653 MB / 439.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.2654, allocations: 20.98 kB / 439.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.2671, allocations: 0.9958 MB / 440.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 3.176e-06/0.2671, allocations: 7.875 kB / 440.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02311/0.2902, allocations: 5.618 MB / 446.2 MB, free: 8.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.2904, allocations: 252.3 kB / 446.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/0.2912, allocations: 0.5379 MB / 447 MB, free: 7.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.2914, allocations: 65.7 kB / 447 MB, free: 7.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.2916, allocations: 289.8 kB / 447.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.2919, allocations: 390.3 kB / 447.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004178/0.2924, allocations: 222.9 kB / 447.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2925, allocations: 394.7 kB / 448.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.2936, allocations: 0.6469 MB / 448.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2947, allocations: 0.7594 MB / 449.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01854/0.3133, allocations: 4.789 MB / 454.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3133, allocations: 0 / 454.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004105/0.3174, allocations: 2.222 MB / 456.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/0.3175, allocations: 37.69 kB / 456.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.3175, allocations: 0 / 456.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009272/0.3268, allocations: 2.363 MB / 459.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.3275, allocations: 167.7 kB / 459.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.3323, allocations: 2.257 MB / 461.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.3334, allocations: 150.8 kB / 461.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.3335, allocations: 39.98 kB / 461.7 MB, free: 8.418 MB / 334.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.000609/0.3341, allocations: 297.5 kB / 462 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.3344, allocations: 94.97 kB / 462.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004572/0.3389, allocations: 2.416 MB / 464.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.339, allocations: 12 kB / 464.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.339, allocations: 0 / 464.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.339, allocations: 3.984 kB / 464.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007041/0.3461, allocations: 4.208 MB / 468.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.3461, allocations: 4 kB / 468.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.3465, allocations: 115.8 kB / 468.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009136/0.3557, allocations: 2.164 MB / 471 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/0.356, allocations: 27.98 kB / 471 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/0.3609, allocations: 2.388 MB / 473.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3609, allocations: 0 / 473.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.3654, allocations: 2.422 MB / 475.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.3661, allocations: 343.5 kB / 476.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.3663, allocations: 36 kB / 476.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.3673, allocations: 114.7 kB / 476.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.3676, allocations: 93.19 kB / 476.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.3677, allocations: 63.84 kB / 476.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005329/0.3682, allocations: 374.8 kB / 476.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3682, allocations: 0 / 476.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008752/0.3691, allocations: 327.7 kB / 477.2 MB, free: 8.762 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.001108/0.3702, allocations: 468.2 kB / 477.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005136/0.3754, allocations: 2.076 MB / 479.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.3754, allocations: 4.656 kB / 479.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003691/0.3791, allocations: 1.374 MB / 481.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.3803, allocations: 121.9 kB / 481.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.3839, allocations: 2.132 MB / 483.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.3844, allocations: 0.9655 MB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.3846, allocations: 83.34 kB / 484.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3847, allocations: 4 kB / 484.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Templates: time 0.02108/0.4057, allocations: 16.12 MB / 0.4888 GB, free: 1.492 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)