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.001587/0.001587, allocations: 104.3 kB / 20.49 MB, free: 1.363 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.001867/0.001867, allocations: 217.8 kB / 23.78 MB, free: 4.531 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.492/1.492, allocations: 230.6 MB / 257.6 MB, free: 7.809 MB / 206.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.04001/0.04001, allocations: 6.136 MB / 320.1 MB, free: 12.77 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.001539/0.001539, allocations: 51.91 kB / 445.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1229, allocations: 55.03 MB / 0.489 GB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.006655/0.1295, allocations: 4.085 MB / 0.493 GB, free: 9.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005892/0.1354, allocations: 3.328 MB / 0.4962 GB, free: 6.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.1363, allocations: 15.94 kB / 0.4962 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009785/0.1373, allocations: 282.2 kB / 0.4965 GB, free: 5.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.1392, allocations: 0.5612 MB / 0.497 GB, free: 5.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.1423, allocations: 1.393 MB / 0.4984 GB, free: 3.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.1445, allocations: 1.094 MB / 0.4995 GB, free: 2.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.1449, allocations: 211.6 kB / 0.4997 GB, free: 2.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006249/0.1456, allocations: 466.3 kB / 0.5001 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/0.1463, allocations: 0.5368 MB / 0.5006 GB, free: 1.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.1465, allocations: 95.98 kB / 0.5007 GB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.1477, allocations: 459.7 kB / 0.5012 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.148, allocations: 219.1 kB / 0.5014 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005554/0.1485, allocations: 406.1 kB / 0.5018 GB, free: 336 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.1506, allocations: 1.354 MB / 0.5031 GB, free: 14.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1506, allocations: 4 kB / 0.5031 GB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1506, allocations: 0 / 0.5031 GB, free: 14.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1506, allocations: 0 / 0.5031 GB, free: 14.96 MB / 382.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.01194/0.1626, allocations: 2.537 MB / 0.5056 GB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/0.1626, allocations: 8.031 kB / 0.5056 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.163, allocations: 116.3 kB / 0.5057 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.1644, allocations: 0.5214 MB / 0.5062 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/0.1646, allocations: 168.7 kB / 0.5064 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.1648, allocations: 79.94 kB / 0.5064 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.1675, allocations: 1.593 MB / 0.508 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.1675, allocations: 0 / 0.508 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.1676, allocations: 36 kB / 0.508 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.1676, allocations: 16 kB / 0.508 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.1694, allocations: 1.038 MB / 0.509 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005437/0.1749, allocations: 2.417 MB / 0.5114 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.1768, allocations: 1.189 MB / 0.5126 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.178, allocations: 0.6732 MB / 0.5132 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.1781, allocations: 20.98 kB / 0.5132 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/0.1802, allocations: 1.461 MB / 0.5147 GB, free: 2.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=123): time 4.769e-06/0.1802, allocations: 0 / 0.5147 GB, free: 2.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.2709/0.4511, allocations: 5.549 MB / 0.5201 GB, free: 29.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.4512, allocations: 261.4 kB / 0.5203 GB, free: 29.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/0.452, allocations: 0.54 MB / 0.5209 GB, free: 29.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.4522, allocations: 60.42 kB / 0.5209 GB, free: 29.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4524, allocations: 278.2 kB / 0.5212 GB, free: 29.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.4527, allocations: 416.6 kB / 0.5216 GB, free: 29.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003977/0.4531, allocations: 222.9 kB / 0.5218 GB, free: 29.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4532, allocations: 392.9 kB / 0.5222 GB, free: 28.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.4543, allocations: 0.6987 MB / 0.5229 GB, free: 28.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.4555, allocations: 0.8767 MB / 0.5237 GB, free: 28.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01889/0.4744, allocations: 4.817 MB / 0.5284 GB, free: 27.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4744, allocations: 1.281 kB / 0.5284 GB, free: 27.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004/0.4784, allocations: 2.227 MB / 0.5306 GB, free: 26.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.4784, allocations: 36.56 kB / 0.5306 GB, free: 26.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4785, allocations: 0 / 0.5306 GB, free: 26.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009372/0.4878, allocations: 2.319 MB / 0.5329 GB, free: 25.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.4886, allocations: 163.2 kB / 0.5331 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.4926, allocations: 2.322 MB / 0.5353 GB, free: 24.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.4938, allocations: 154.1 kB / 0.5355 GB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.4939, allocations: 43.94 kB / 0.5355 GB, free: 24.38 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.0005442/0.4944, allocations: 290.2 kB / 0.5358 GB, free: 24.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.4946, allocations: 98.16 kB / 0.5359 GB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.4984, allocations: 2.305 MB / 0.5381 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.4984, allocations: 14.97 kB / 0.5381 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4984, allocations: 0 / 0.5381 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.4985, allocations: 9.969 kB / 0.5382 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005694/0.5042, allocations: 3.68 MB / 0.5417 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.5042, allocations: 4 kB / 0.5418 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.5046, allocations: 118.6 kB / 0.5419 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008524/0.5131, allocations: 2.167 MB / 0.544 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002757/0.5134, allocations: 38.83 kB / 0.544 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004081/0.5175, allocations: 2.478 MB / 0.5464 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5175, allocations: 2.75 kB / 0.5464 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/0.5211, allocations: 2.316 MB / 0.5487 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.5217, allocations: 273.5 kB / 0.549 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.5218, allocations: 36 kB / 0.549 GB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/0.5228, allocations: 112.3 kB / 0.5491 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.523, allocations: 108.8 kB / 0.5492 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5231, allocations: 51.98 kB / 0.5493 GB, free: 15.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004218/0.5235, allocations: 378.8 kB / 0.5496 GB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5235, allocations: 0 / 0.5496 GB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008602/0.5244, allocations: 337.8 kB / 0.5499 GB, free: 15.11 MB / 382.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.001797/0.5262, allocations: 0.5462 MB / 0.5505 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.5307, allocations: 2.008 MB / 0.5524 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.5307, allocations: 0.6562 kB / 0.5524 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00303/0.5337, allocations: 1.178 MB / 0.5536 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.5346, allocations: 127.4 kB / 0.5537 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.5377, allocations: 1.866 MB / 0.5555 GB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.5379, allocations: 373.4 kB / 0.5559 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003642/0.5383, allocations: 114.1 kB / 0.556 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.5385, allocations: 79.41 kB / 0.5561 GB, free: 9.008 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5385, allocations: 0 / 0.5561 GB, free: 9.008 MB / 382.1 MB Notification: Performance of Templates: time 0.03104/0.5695, allocations: 21.11 MB / 0.5767 GB, free: 4.102 MB / 398.1 MB " [Timeout remaining time 659] 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 cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.802913999999873] Failed to read output from testmodel.py, exit status != 0: 0.5782909209956415 0.593297485 0.43938080399999996 Calling exit ...