Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 80.2 kB / 20.7 MB, free: 3.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 173 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02571/0.02571, allocations: 4.475 MB / 265.6 MB, free: 8.289 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder") translateModel(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 336.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.804e-05, allocations: 2.312 kB / 336.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.003554/0.003572, allocations: 4.368 MB / 341.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.006933, allocations: 3.421 MB / 344.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.007341, allocations: 16 kB / 344.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.007951, allocations: 273.9 kB / 345 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009615/0.008913, allocations: 0.5899 MB / 345.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.01036, allocations: 1.377 MB / 347 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.01137, allocations: 1.128 MB / 348.1 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.01161, allocations: 195.5 kB / 348.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.01208, allocations: 0.6431 MB / 348.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.0124, allocations: 430.7 kB / 349.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.974e-05/0.01248, allocations: 92 kB / 349.4 MB, free: 456 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005979/0.01308, allocations: 451.3 kB / 349.9 MB, free: 4 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.01325, allocations: 219.1 kB / 350.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.01348, allocations: 347 kB / 350.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.01478, allocations: 1.141 MB / 351.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01478, allocations: 0 / 351.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01478, allocations: 0 / 351.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01479, allocations: 0 / 351.6 MB, free: 14.3 MB / 282.7 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.006172/0.02096, allocations: 2.683 MB / 354.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.021, allocations: 8.031 kB / 354.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.0212, allocations: 176.3 kB / 354.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.02178, allocations: 0.5203 MB / 355 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.02186, allocations: 164.7 kB / 355.1 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.02196, allocations: 88.38 kB / 355.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000841/0.0228, allocations: 1.132 MB / 356.3 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.02281, allocations: 0 / 356.3 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.02287, allocations: 35.98 kB / 356.4 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.02288, allocations: 16 kB / 356.4 MB, free: 9.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.02352, allocations: 394.5 kB / 356.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.02589, allocations: 2.132 MB / 358.9 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.02687, allocations: 0.7241 MB / 359.6 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.02719, allocations: 335.5 kB / 360 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.239e-05/0.02728, allocations: 32.98 kB / 360 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007789/0.02806, allocations: 1.084 MB / 361.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=123): time 2.294e-06/0.02806, allocations: 4 kB / 361.1 MB, free: 4.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.01003/0.0381, allocations: 4.323 MB / 365.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.03817, allocations: 256.3 kB / 365.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.03852, allocations: 0.5411 MB / 366.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.912e-05/0.03859, allocations: 61.7 kB / 366.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.03875, allocations: 336.8 kB / 366.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.03909, allocations: 412.5 kB / 367 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.03933, allocations: 248.4 kB / 367.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.03949, allocations: 0.5819 MB / 367.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.0398, allocations: 308.1 kB / 368.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.04019, allocations: 0.5153 MB / 368.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.04125, allocations: 1.153 MB / 369.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.04125, allocations: 4 kB / 369.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001788/0.04304, allocations: 1.338 MB / 371.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.04308, allocations: 41.62 kB / 371.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.04308, allocations: 4 kB / 371.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003969/0.04705, allocations: 2.018 MB / 373.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.04737, allocations: 163.8 kB / 373.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.04921, allocations: 1.766 MB / 375.1 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.04962, allocations: 123.2 kB / 375.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.04968, allocations: 35.98 kB / 375.3 MB, free: 5.852 MB / 298.7 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.000304/0.04998, allocations: 291.5 kB / 375.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.05014, allocations: 135.4 kB / 375.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.05165, allocations: 1.367 MB / 377.1 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.05166, allocations: 12 kB / 377.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.05167, allocations: 0 / 377.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.05168, allocations: 7.969 kB / 377.1 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.05467, allocations: 2.541 MB / 379.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.05468, allocations: 0 / 379.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.05489, allocations: 119.8 kB / 379.7 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003752/0.05864, allocations: 1.855 MB / 381.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.05871, allocations: 31.98 kB / 381.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.06074, allocations: 1.875 MB / 383.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.06074, allocations: 0 / 383.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.06268, allocations: 1.496 MB / 385 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.06302, allocations: 267 kB / 385.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.06312, allocations: 39.94 kB / 385.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.06363, allocations: 71.95 kB / 385.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.06382, allocations: 105.1 kB / 385.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/0.0639, allocations: 39.98 kB / 385.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.06417, allocations: 342.6 kB / 385.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06417, allocations: 0 / 385.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007201/0.06489, allocations: 343.6 kB / 386.2 MB, free: 10.72 MB / 314.7 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.001173/0.06606, allocations: 0.5231 MB / 386.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.06863, allocations: 1.331 MB / 388 MB, free: 8.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.06864, allocations: 4.656 kB / 388 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.07045, allocations: 0.8779 MB / 388.9 MB, free: 8.086 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.07105, allocations: 157.2 kB / 389.1 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.07355, allocations: 1.567 MB / 390.6 MB, free: 6.336 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.07367, allocations: 175.3 kB / 390.8 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.07397, allocations: 114.1 kB / 390.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.07435, allocations: 258.1 kB / 391.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.07435, allocations: 0 / 391.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of Templates: time 0.02711/0.1015, allocations: 21.11 MB / 412.3 MB, free: 0.8359 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.sim & ./PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.5082122897729278]