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.002162/0.002162, allocations: 72.5 kB / 19.97 MB, free: 1.746 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.002348/0.002348, allocations: 168.7 kB / 23.25 MB, free: 4.875 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.491/1.491, allocations: 177.1 MB / 203.6 MB, free: 9.172 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.03743/0.03743, allocations: 4.485 MB / 264.5 MB, free: 12.21 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 2.144e-06/2.144e-06, allocations: 0 / 390.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.77e-05, allocations: 6.281 kB / 390.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.006405/0.006443, allocations: 4.092 MB / 394.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006747/0.01319, allocations: 3.339 MB / 397.5 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006658/0.01386, allocations: 12 kB / 397.6 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.01474, allocations: 281.9 kB / 397.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.01628, allocations: 0.5821 MB / 398.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.0191, allocations: 1.389 MB / 399.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.02058, allocations: 1.132 MB / 400.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.02096, allocations: 195.5 kB / 401.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.0217, allocations: 0.6352 MB / 401.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.02234, allocations: 422.8 kB / 402.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.02249, allocations: 92 kB / 402.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009256/0.02341, allocations: 443.4 kB / 402.7 MB, free: 4 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.02366, allocations: 227.2 kB / 402.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.02406, allocations: 347 kB / 403.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.02572, allocations: 1.402 MB / 404.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.02572, allocations: 0 / 404.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02572, allocations: 0 / 404.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.02573, allocations: 0 / 404.7 MB, free: 14.03 MB / 334.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.01048/0.03621, allocations: 2.533 MB / 407.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.03626, allocations: 12.03 kB / 407.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.03653, allocations: 120.3 kB / 407.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000912/0.03744, allocations: 0.5168 MB / 407.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.03759, allocations: 168.7 kB / 408 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.03773, allocations: 72.38 kB / 408.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.03995, allocations: 1.602 MB / 409.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.03996, allocations: 0 / 409.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.04007, allocations: 32 kB / 409.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.04008, allocations: 12 kB / 409.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.04182, allocations: 1.038 MB / 410.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005062/0.04688, allocations: 2.425 MB / 413.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.04887, allocations: 1.185 MB / 414.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.05011, allocations: 0.6809 MB / 415 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.05025, allocations: 17 kB / 415.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002248/0.0525, allocations: 1.46 MB / 416.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=123): time 4.779e-06/0.0525, allocations: 4 kB / 416.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=123): time 0.0237/0.0762, allocations: 5.555 MB / 422.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/0.07639, allocations: 264.2 kB / 422.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/0.07735, allocations: 0.5457 MB / 422.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.07755, allocations: 57.7 kB / 422.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.07784, allocations: 282.2 kB / 423.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/0.0783, allocations: 408.5 kB / 423.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/0.07874, allocations: 222.9 kB / 423.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.07898, allocations: 390.7 kB / 424.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.08011, allocations: 0.6915 MB / 424.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.08135, allocations: 0.8793 MB / 425.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/0.1001, allocations: 4.819 MB / 430.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1001, allocations: 0 / 430.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00429/0.1044, allocations: 2.222 MB / 432.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.1044, allocations: 44.34 kB / 432.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1044, allocations: 0 / 432.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009507/0.114, allocations: 2.312 MB / 435.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/0.1148, allocations: 163.7 kB / 435.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005052/0.1198, allocations: 2.331 MB / 437.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.1212, allocations: 139.4 kB / 437.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.1213, allocations: 43.92 kB / 437.9 MB, free: 12.11 MB / 366.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.000725/0.122, allocations: 304.4 kB / 438.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.1222, allocations: 95.44 kB / 438.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.1267, allocations: 2.306 MB / 440.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.1267, allocations: 12 kB / 440.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1267, allocations: 3.938 kB / 440.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.1268, allocations: 15.91 kB / 440.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.1335, allocations: 3.683 MB / 444.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1335, allocations: 3.938 kB / 444.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.1339, allocations: 115.8 kB / 444.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009328/0.1432, allocations: 2.169 MB / 446.6 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.1434, allocations: 31.98 kB / 446.6 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005178/0.1486, allocations: 2.476 MB / 449.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1486, allocations: 3.938 kB / 449.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2102/0.3588, allocations: 2.315 MB / 451.4 MB, free: 67.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/0.3594, allocations: 271.7 kB / 451.6 MB, free: 67.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.3596, allocations: 37.97 kB / 451.7 MB, free: 67.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.3606, allocations: 105.6 kB / 451.8 MB, free: 67.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.3609, allocations: 101.2 kB / 451.9 MB, free: 67.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.361, allocations: 47.33 kB / 451.9 MB, free: 67.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005469/0.3616, allocations: 377.5 kB / 452.3 MB, free: 67.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3616, allocations: 4.875 kB / 452.3 MB, free: 67.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008625/0.3625, allocations: 338.8 kB / 452.6 MB, free: 67.61 MB / 366.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.001825/0.3643, allocations: 0.554 MB / 453.2 MB, free: 67.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005047/0.3693, allocations: 2.002 MB / 455.2 MB, free: 66.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3693, allocations: 2.906 kB / 455.2 MB, free: 66.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003587/0.3729, allocations: 1.174 MB / 456.4 MB, free: 66.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/0.3738, allocations: 127.1 kB / 456.5 MB, free: 66.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3771, allocations: 1.832 MB / 458.3 MB, free: 65.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.3775, allocations: 376.5 kB / 458.7 MB, free: 65.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004381/0.378, allocations: 120.3 kB / 458.8 MB, free: 65.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.3782, allocations: 76.23 kB / 458.9 MB, free: 65.09 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3782, allocations: 0 / 458.9 MB, free: 65.09 MB / 366.1 MB Notification: Performance of Templates: time 0.02647/0.4047, allocations: 19.61 MB / 478.5 MB, free: 51.73 MB / 366.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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.503272034227848] Failed to read output from testmodel.py, exit status != 0: 0.41307277232408524 0.421588329 0.39361141499999996 Calling exit ...