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.0007543/0.0007545, allocations: 90.81 kB / 16.71 MB, free: 6.629 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.0008089/0.000809, allocations: 180.4 kB / 17.62 MB, free: 6.152 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.346/1.346, allocations: 223.3 MB / 241.7 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04106/0.04106, allocations: 8.084 MB / 300.9 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 8 kB / 364.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2264, allocations: 52.52 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.003434/0.2298, allocations: 4.298 MB / 421 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.2338, allocations: 3.12 MB / 424.1 MB, free: 17.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.2343, allocations: 12 kB / 424.1 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.235, allocations: 234.9 kB / 424.3 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.2361, allocations: 493.5 kB / 424.8 MB, free: 16.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.2383, allocations: 1.389 MB / 426.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.2394, allocations: 1.031 MB / 427.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.2398, allocations: 267.8 kB / 427.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.2402, allocations: 398.3 kB / 427.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.2407, allocations: 0.4899 MB / 428.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.551e-05/0.2408, allocations: 44 kB / 428.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007358/0.2415, allocations: 371.7 kB / 428.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.2417, allocations: 167.1 kB / 428.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.242, allocations: 479.2 kB / 429.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.2428, allocations: 0.9039 MB / 430.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2428, allocations: 0 / 430.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2428, allocations: 4 kB / 430.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2428, allocations: 3.938 kB / 430.3 MB, free: 11.13 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.009115/0.2519, allocations: 2.434 MB / 432.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.252, allocations: 15.97 kB / 432.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.2524, allocations: 107.8 kB / 432.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.2531, allocations: 0.5775 MB / 433.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.2532, allocations: 172.7 kB / 433.6 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2533, allocations: 79.94 kB / 433.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.2549, allocations: 1.093 MB / 434.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2549, allocations: 0 / 434.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.255, allocations: 35.94 kB / 434.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2551, allocations: 16 kB / 434.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.2565, allocations: 0.9929 MB / 435.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.2613, allocations: 4.119 MB / 439.9 MB, free: 1.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.2631, allocations: 1.599 MB / 441.5 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.2643, allocations: 0.7692 MB / 442.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.2644, allocations: 24.89 kB / 442.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/0.2661, allocations: 1.015 MB / 443.4 MB, free: 13.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 4.869e-06/0.2661, allocations: 112 / 443.4 MB, free: 13.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02376/0.2899, allocations: 5.65 MB / 449 MB, free: 7.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.2901, allocations: 260.3 kB / 449.3 MB, free: 7.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.2909, allocations: 0.5302 MB / 449.8 MB, free: 6.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.2911, allocations: 57.7 kB / 449.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.2913, allocations: 285.9 kB / 450.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.2917, allocations: 394.2 kB / 450.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.2918, allocations: 117.6 kB / 450.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.292, allocations: 390.7 kB / 451 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.2931, allocations: 0.6547 MB / 451.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.2943, allocations: 0.7672 MB / 452.4 MB, free: 4.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/0.3134, allocations: 4.914 MB / 457.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3135, allocations: 0 / 457.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00414/0.3176, allocations: 2.226 MB / 459.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/0.3177, allocations: 45.69 kB / 459.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.3177, allocations: 0 / 459.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009335/0.3271, allocations: 2.383 MB / 462 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/0.3278, allocations: 163.7 kB / 462.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004323/0.3322, allocations: 2.249 MB / 464.4 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.3334, allocations: 170.8 kB / 464.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3335, allocations: 39.98 kB / 464.6 MB, free: 7.98 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.0005489/0.3341, allocations: 300 kB / 464.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.3343, allocations: 90.97 kB / 465 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.3385, allocations: 2.439 MB / 467.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.3385, allocations: 12 kB / 467.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.3385, allocations: 0 / 467.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3385, allocations: 3.984 kB / 467.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/0.3451, allocations: 4.239 MB / 471.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.3451, allocations: 3.938 kB / 471.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.3456, allocations: 119.8 kB / 471.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009258/0.3549, allocations: 2.183 MB / 474 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.3551, allocations: 31.98 kB / 474 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00492/0.3601, allocations: 2.383 MB / 476.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3601, allocations: 0 / 476.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.3647, allocations: 2.445 MB / 478.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000631/0.3654, allocations: 339.6 kB / 479.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.3655, allocations: 40 kB / 479.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.3667, allocations: 133.6 kB / 479.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.3669, allocations: 105.1 kB / 479.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.367, allocations: 55.91 kB / 479.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005096/0.3675, allocations: 374.8 kB / 479.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3676, allocations: 0 / 479.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000863/0.3684, allocations: 331.7 kB / 480.2 MB, free: 8.211 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.001118/0.3695, allocations: 461.4 kB / 480.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005059/0.3746, allocations: 2.08 MB / 482.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3746, allocations: 0.6562 kB / 482.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003669/0.3783, allocations: 1.362 MB / 484.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/0.3792, allocations: 126.2 kB / 484.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.3828, allocations: 2.175 MB / 486.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.3832, allocations: 0.9733 MB / 487.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.3835, allocations: 83.39 kB / 487.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3835, allocations: 0 / 487.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Templates: time 0.02003/0.4036, allocations: 16.16 MB / 0.4918 GB, free: 0.8672 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)