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.001209/0.001209, allocations: 108.5 kB / 16.68 MB, free: 5.871 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.001334/0.001334, allocations: 195.4 kB / 17.61 MB, free: 5.438 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.3 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05081/0.05081, allocations: 8.104 MB / 299.5 MB, free: 6.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 361.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2331, allocations: 51.52 MB / 413.4 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004224/0.2374, allocations: 4.735 MB / 418.1 MB, free: 21.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.2408, allocations: 3.112 MB / 421.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.2413, allocations: 12 kB / 421.3 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000791/0.2422, allocations: 238.9 kB / 421.5 MB, free: 17.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.2433, allocations: 493.5 kB / 422 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.2453, allocations: 1.381 MB / 423.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.2463, allocations: 1.102 MB / 424.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.2467, allocations: 311 kB / 424.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.247, allocations: 458.3 kB / 425.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.2475, allocations: 0.5407 MB / 425.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2476, allocations: 92 kB / 425.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006233/0.2482, allocations: 423.7 kB / 426.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.2484, allocations: 211.1 kB / 426.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.2487, allocations: 0.5014 MB / 427 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007389/0.2494, allocations: 0.9433 MB / 427.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2494, allocations: 0 / 427.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2495, allocations: 0 / 427.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.2495, allocations: 0 / 427.9 MB, free: 11.19 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.009062/0.2585, allocations: 2.575 MB / 430.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2586, allocations: 15.89 kB / 430.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.2588, allocations: 107.8 kB / 430.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007104/0.2595, allocations: 0.5775 MB / 431.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.2596, allocations: 164.7 kB / 431.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2598, allocations: 83.94 kB / 431.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.2613, allocations: 1.089 MB / 432.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.2614, allocations: 0 / 432.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.2615, allocations: 28 kB / 432.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.2615, allocations: 16 kB / 432.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.2628, allocations: 0.9812 MB / 433.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.2672, allocations: 4.068 MB / 437.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.2689, allocations: 1.586 MB / 439.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.27, allocations: 0.7652 MB / 439.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.2701, allocations: 28.95 kB / 440 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/0.272, allocations: 0.9996 MB / 441 MB, free: 13.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 3.797e-06/0.272, allocations: 0 / 441 MB, free: 13.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02276/0.2948, allocations: 5.614 MB / 446.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.2949, allocations: 260.3 kB / 446.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.2957, allocations: 0.534 MB / 447.4 MB, free: 7.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.2958, allocations: 69.62 kB / 447.4 MB, free: 6.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2961, allocations: 281.9 kB / 447.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.2964, allocations: 390.3 kB / 448.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.2968, allocations: 218.9 kB / 448.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.297, allocations: 394.7 kB / 448.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009999/0.298, allocations: 0.6586 MB / 449.4 MB, free: 5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.2991, allocations: 0.7594 MB / 450.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/0.3168, allocations: 4.805 MB / 454.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3168, allocations: 0 / 454.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003967/0.3208, allocations: 2.214 MB / 457.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.3209, allocations: 37.7 kB / 457.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.3209, allocations: 3.938 kB / 457.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009116/0.33, allocations: 2.379 MB / 459.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.3308, allocations: 163.8 kB / 459.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004395/0.3352, allocations: 2.261 MB / 462 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.3366, allocations: 150.8 kB / 462.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.3367, allocations: 43.98 kB / 462.2 MB, free: 8.082 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.0006345/0.3374, allocations: 290.3 kB / 462.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.3376, allocations: 90.97 kB / 462.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/0.3417, allocations: 2.42 MB / 465 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.3417, allocations: 15.94 kB / 465 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3417, allocations: 0 / 465 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3418, allocations: 3.984 kB / 465 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/0.3481, allocations: 4.2 MB / 469.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3482, allocations: 3.938 kB / 469.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.3486, allocations: 115.9 kB / 469.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008728/0.3573, allocations: 2.136 MB / 471.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.3576, allocations: 39.98 kB / 471.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004626/0.3622, allocations: 2.392 MB / 473.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3623, allocations: 3.984 kB / 473.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004331/0.3666, allocations: 2.418 MB / 476.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/0.3672, allocations: 343.5 kB / 476.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.3674, allocations: 36 kB / 476.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.3684, allocations: 119 kB / 476.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.3687, allocations: 97.17 kB / 476.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.3688, allocations: 47.92 kB / 476.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000486/0.3693, allocations: 374.8 kB / 477.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3693, allocations: 8 kB / 477.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008162/0.3701, allocations: 323.7 kB / 477.6 MB, free: 8.449 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.001112/0.3712, allocations: 476.9 kB / 478.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00573/0.377, allocations: 2.132 MB / 480.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.377, allocations: 4.594 kB / 480.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003557/0.3806, allocations: 1.384 MB / 481.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/0.3815, allocations: 120 kB / 481.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.3849, allocations: 2.13 MB / 483.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.3854, allocations: 0.9694 MB / 484.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.3857, allocations: 83.41 kB / 484.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3857, allocations: 0 / 484.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Templates: time 0.02089/0.4066, allocations: 16.13 MB / 0.4893 GB, free: 1.094 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)