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.0009822/0.0009822, allocations: 96.78 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001813, allocations: 174 kB / 16.62 MB, free: 6.434 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.48/1.48, allocations: 223.3 MB / 240.7 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1971/0.1971, allocations: 8.087 MB / 299.8 MB, free: 2.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 8 kB / 362.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 52.51 MB / 415.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005334/0.1472, allocations: 4.015 MB / 419.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006075/0.1533, allocations: 2.98 MB / 422.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004904/0.1538, allocations: 12 kB / 422.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.1545, allocations: 187 kB / 422.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.1559, allocations: 465.2 kB / 423 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2668/0.4226, allocations: 1.184 MB / 424.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.4247, allocations: 0.977 MB / 425.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.4252, allocations: 239.1 kB / 425.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.4257, allocations: 383.7 kB / 425.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.4264, allocations: 483.8 kB / 426.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.4265, allocations: 47.41 kB / 426.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009739/0.4275, allocations: 354.2 kB / 426.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.4277, allocations: 165.5 kB / 426.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.428, allocations: 184 kB / 427 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.429, allocations: 0.9112 MB / 427.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.429, allocations: 0 / 427.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.429, allocations: 0 / 427.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4291, allocations: 0 / 427.9 MB, free: 35.16 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.008412/0.4375, allocations: 2.432 MB / 430.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4375, allocations: 9.281 kB / 430.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.4379, allocations: 110.4 kB / 430.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.4387, allocations: 0.5599 MB / 431 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.4389, allocations: 169.7 kB / 431.2 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.439, allocations: 75.41 kB / 431.3 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.4406, allocations: 1.093 MB / 432.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4407, allocations: 0 / 432.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.304e-05/0.4408, allocations: 30.72 kB / 432.4 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.4408, allocations: 23.86 kB / 432.4 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.4424, allocations: 0.9915 MB / 433.4 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.447, allocations: 4.111 MB / 437.5 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.4487, allocations: 1.595 MB / 439.1 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008968/0.4496, allocations: 0.7577 MB / 439.9 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.4497, allocations: 30.95 kB / 439.9 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.451, allocations: 1.011 MB / 440.9 MB, free: 31.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=123): time 3.006e-06/0.4511, allocations: 3.188 kB / 440.9 MB, free: 31.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01883/0.4699, allocations: 5.572 MB / 446.5 MB, free: 30.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/0.47, allocations: 254.7 kB / 446.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007643/0.4708, allocations: 0.5368 MB / 447.3 MB, free: 29.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.471, allocations: 55.2 kB / 447.3 MB, free: 29.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.4712, allocations: 289.8 kB / 447.6 MB, free: 29.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.4715, allocations: 396.2 kB / 448 MB, free: 29.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.4716, allocations: 23.25 kB / 448 MB, free: 29.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4717, allocations: 397.1 kB / 448.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/0.4726, allocations: 0.6534 MB / 449 MB, free: 28.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/0.4735, allocations: 0.7527 MB / 449.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009822/0.4745, allocations: 0.7332 MB / 450.5 MB, free: 27.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4745, allocations: 0 / 450.5 MB, free: 27.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003179/0.4777, allocations: 2.165 MB / 452.7 MB, free: 26.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.4778, allocations: 43.02 kB / 452.7 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4778, allocations: 0 / 452.7 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007805/0.4856, allocations: 2.386 MB / 455.1 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.4864, allocations: 167.5 kB / 455.3 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/0.4901, allocations: 2.237 MB / 457.5 MB, free: 24.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.4913, allocations: 155.5 kB / 457.7 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.76e-05/0.4914, allocations: 51.91 kB / 457.7 MB, free: 24.71 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.HVMV.tapChanger.tap,HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.furtherTapChangeTimeout,$PRE.varLoad1.degradedMode,varLoad1.degradedMode,$PRE.varLoad2.degradedMode,varLoad2.degradedMode,$PRE.varLoad3.degradedMode,varLoad3.degradedMode,$PRE.varLoad4.degradedMode,varLoad4.degradedMode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0006087/0.492, allocations: 296.6 kB / 458 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.4922, allocations: 91.34 kB / 458.1 MB, free: 24.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/0.4961, allocations: 2.429 MB / 460.5 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4962, allocations: 12.81 kB / 460.6 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4962, allocations: 4 kB / 460.6 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.4962, allocations: 19.95 kB / 460.6 MB, free: 23.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.5029, allocations: 4.214 MB / 464.8 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.503, allocations: 0 / 464.8 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.5034, allocations: 119.3 kB / 464.9 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008132/0.5116, allocations: 2.156 MB / 467.1 MB, free: 20.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.5118, allocations: 32.92 kB / 467.1 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/0.5165, allocations: 2.374 MB / 469.5 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.5165, allocations: 4.703 kB / 469.5 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.5219, allocations: 2.44 MB / 471.9 MB, free: 17.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007787/0.5227, allocations: 351.8 kB / 472.3 MB, free: 17.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.5229, allocations: 38.81 kB / 472.3 MB, free: 17.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5239, allocations: 133.3 kB / 472.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.5242, allocations: 96.34 kB / 472.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.5244, allocations: 52.12 kB / 472.6 MB, free: 17.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006082/0.525, allocations: 372.6 kB / 472.9 MB, free: 17.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.525, allocations: 0 / 472.9 MB, free: 17.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009892/0.526, allocations: 330.6 kB / 473.3 MB, free: 17.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.5271, allocations: 481.7 kB / 473.7 MB, free: 17.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004974/0.5321, allocations: 2.078 MB / 475.8 MB, free: 16.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.5321, allocations: 2.031 kB / 475.8 MB, free: 16.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003662/0.5358, allocations: 1.374 MB / 477.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.5368, allocations: 119 kB / 477.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.5406, allocations: 2.036 MB / 479.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.5413, allocations: 0.9726 MB / 480.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005856/0.5419, allocations: 124.8 kB / 480.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.5422, allocations: 78.31 kB / 480.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of SimCode: time 1.984e-06/0.5422, allocations: 0 / 480.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Templates: time 0.02915/0.5713, allocations: 19.06 MB / 499.6 MB, free: 14.26 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: