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.001404/0.001404, allocations: 75.75 kB / 20.55 MB, free: 1.082 MB / 14.72 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.001437/0.001437, allocations: 160.9 kB / 23.8 MB, free: 4.168 MB / 14.72 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.427/1.427, allocations: 177.2 MB / 204.2 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] 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.03402/0.03402, allocations: 4.484 MB / 265 MB, free: 12.26 MB / 254.1 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 0.001514/0.001514, allocations: 51.92 kB / 390.6 MB, free: 12.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09761, allocations: 55 MB / 445.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.005979/0.1036, allocations: 4.092 MB / 449.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.286, allocations: 3.321 MB / 453 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.2864, allocations: 12.03 kB / 453 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.287, allocations: 284.4 kB / 453.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.2882, allocations: 0.565 MB / 453.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.2905, allocations: 1.38 MB / 455.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.2915, allocations: 1.09 MB / 456.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.2918, allocations: 198.8 kB / 456.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.2922, allocations: 467 kB / 457 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005624/0.2928, allocations: 493.3 kB / 457.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.2929, allocations: 91.88 kB / 457.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.2937, allocations: 447.1 kB / 458 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.2939, allocations: 216.8 kB / 458.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.2943, allocations: 411.8 kB / 458.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.2959, allocations: 1.344 MB / 459.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2959, allocations: 1.219 kB / 459.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2959, allocations: 0.6094 kB / 459.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.2959, allocations: 0 / 459.9 MB, free: 11.69 MB / 366.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.00992/0.3058, allocations: 2.527 MB / 462.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3058, allocations: 14.09 kB / 462.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.3061, allocations: 117.2 kB / 462.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.3071, allocations: 0.5196 MB / 463.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.3072, allocations: 172.6 kB / 463.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.3074, allocations: 78.59 kB / 463.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.3093, allocations: 1.589 MB / 465 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3094, allocations: 0 / 465 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.3095, allocations: 33.95 kB / 465 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3095, allocations: 15 kB / 465 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.311, allocations: 1.047 MB / 466.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.3156, allocations: 2.43 MB / 468.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3173, allocations: 1.183 MB / 469.7 MB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009628/0.3182, allocations: 0.6777 MB / 470.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.3183, allocations: 21.31 kB / 470.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001541/0.3199, allocations: 1.454 MB / 471.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.497e-06/0.3199, allocations: 0 / 471.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02144/0.3413, allocations: 5.564 MB / 477.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.3414, allocations: 257.2 kB / 477.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.3421, allocations: 0.5469 MB / 478.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.3422, allocations: 55.98 kB / 478.2 MB, free: 2.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3424, allocations: 280.6 kB / 478.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.3426, allocations: 414.7 kB / 478.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/0.343, allocations: 217.9 kB / 479.1 MB, free: 1.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.343, allocations: 397.8 kB / 479.5 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/0.344, allocations: 0.6976 MB / 480.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.345, allocations: 0.8842 MB / 481.1 MB, free: 36 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/0.3628, allocations: 4.809 MB / 485.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3629, allocations: 3.984 kB / 485.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004349/0.3672, allocations: 2.239 MB / 488.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.3673, allocations: 33.7 kB / 488.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3673, allocations: 0 / 488.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009155/0.3764, allocations: 2.314 MB / 490.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007983/0.3772, allocations: 163.7 kB / 490.7 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.382, allocations: 2.327 MB / 493 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.3834, allocations: 147.3 kB / 493.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.3835, allocations: 43.98 kB / 493.2 MB, free: 6.246 MB / 382.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.0007971/0.3843, allocations: 298.4 kB / 493.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.3846, allocations: 99.42 kB / 493.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.389, allocations: 2.298 MB / 495.9 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.389, allocations: 15.94 kB / 495.9 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.389, allocations: 4 kB / 495.9 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.389, allocations: 3.984 kB / 495.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/0.3959, allocations: 3.681 MB / 499.6 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3959, allocations: 0 / 499.6 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.3963, allocations: 124.7 kB / 499.7 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008935/0.4053, allocations: 2.164 MB / 0.4901 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.4054, allocations: 31.98 kB / 0.4901 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005118/0.4106, allocations: 2.491 MB / 0.4925 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4106, allocations: 0 / 0.4925 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004675/0.4152, allocations: 2.321 MB / 0.4948 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006654/0.4159, allocations: 266.9 kB / 0.4951 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.4161, allocations: 47.98 kB / 0.4951 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.4171, allocations: 97.44 kB / 0.4952 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.4174, allocations: 101.1 kB / 0.4953 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.4175, allocations: 43.98 kB / 0.4953 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000575/0.4181, allocations: 386.8 kB / 0.4957 GB, free: 7.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4181, allocations: 0 / 0.4957 GB, free: 7.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009624/0.419, allocations: 339.7 kB / 0.496 GB, free: 7.297 MB / 398.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.001865/0.4209, allocations: 0.5565 MB / 0.4966 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00551/0.4264, allocations: 1.999 MB / 0.4985 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.4264, allocations: 4.656 kB / 0.4985 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003774/0.4302, allocations: 1.17 MB / 0.4997 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009856/0.4312, allocations: 125.2 kB / 0.4998 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.4348, allocations: 1.862 MB / 0.5016 GB, free: 1.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.4352, allocations: 377.4 kB / 0.502 GB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004222/0.4356, allocations: 118 kB / 0.5021 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.4358, allocations: 80.41 kB / 0.5022 GB, free: 1.125 MB / 398.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4358, allocations: 4 kB / 0.5022 GB, free: 1.121 MB / 398.1 MB Notification: Performance of Templates: time 0.03319/0.469, allocations: 19.64 MB / 0.5214 GB, free: 13.69 MB / 430.1 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=480 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.391492915106937] Failed to read output from testmodel.py, exit status != 0: 0.4782100779702887 0.493847112 0.194639887 Calling exit ...