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.001765/0.001765, allocations: 100.4 kB / 20.53 MB, free: 1.293 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.001605/0.001605, allocations: 217.6 kB / 23.83 MB, free: 4.441 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.544/1.544, allocations: 230.6 MB / 257.6 MB, free: 7.742 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.03873/0.03873, allocations: 6.136 MB / 320.2 MB, free: 12.71 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.001512/0.001512, allocations: 47.94 kB / 445.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.118, allocations: 55.03 MB / 0.489 GB, free: 13.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.006221/0.1242, allocations: 4.093 MB / 0.493 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005602/0.1298, allocations: 3.328 MB / 0.4963 GB, free: 5.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.1305, allocations: 12 kB / 0.4963 GB, free: 5.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.1313, allocations: 282.1 kB / 0.4966 GB, free: 5.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.133, allocations: 0.567 MB / 0.4971 GB, free: 5.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.1361, allocations: 1.392 MB / 0.4985 GB, free: 3.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.1378, allocations: 1.082 MB / 0.4995 GB, free: 2.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.1382, allocations: 203.5 kB / 0.4997 GB, free: 2.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006015/0.1388, allocations: 454.3 kB / 0.5002 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.1395, allocations: 493.8 kB / 0.5006 GB, free: 1.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1397, allocations: 92 kB / 0.5007 GB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.1406, allocations: 447.6 kB / 0.5012 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.1409, allocations: 219.1 kB / 0.5014 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004398/0.1413, allocations: 414 kB / 0.5018 GB, free: 332 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.143, allocations: 1.339 MB / 0.5031 GB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.143, allocations: 0 / 0.5031 GB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.143, allocations: 0 / 0.5031 GB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.143, allocations: 0 / 0.5031 GB, free: 14.98 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.01068/0.1537, allocations: 2.537 MB / 0.5055 GB, free: 12.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1538, allocations: 16.03 kB / 0.5056 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.1541, allocations: 120.2 kB / 0.5057 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/0.155, allocations: 0.5176 MB / 0.5062 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.1552, allocations: 168.7 kB / 0.5063 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1553, allocations: 75.94 kB / 0.5064 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.1575, allocations: 1.589 MB / 0.508 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1575, allocations: 0 / 0.508 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.1577, allocations: 36 kB / 0.508 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.1577, allocations: 12 kB / 0.508 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.1595, allocations: 1.041 MB / 0.509 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/0.1647, allocations: 2.441 MB / 0.5114 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.1666, allocations: 1.17 MB / 0.5126 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.1678, allocations: 0.6732 MB / 0.5132 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.1679, allocations: 20.98 kB / 0.5132 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/0.17, allocations: 1.461 MB / 0.5147 GB, free: 2.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=123): time 3.707e-06/0.17, allocations: 0 / 0.5147 GB, free: 2.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.2909/0.4609, allocations: 5.547 MB / 0.5201 GB, free: 29.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.461, allocations: 261.5 kB / 0.5203 GB, free: 29.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.462, allocations: 0.5416 MB / 0.5209 GB, free: 29.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.4622, allocations: 57.12 kB / 0.5209 GB, free: 29.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.4625, allocations: 286 kB / 0.5212 GB, free: 29.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.4629, allocations: 411.4 kB / 0.5216 GB, free: 29.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.4633, allocations: 226.6 kB / 0.5218 GB, free: 29.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4635, allocations: 391.1 kB / 0.5222 GB, free: 28.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4648, allocations: 0.6936 MB / 0.5228 GB, free: 28.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.4661, allocations: 0.8788 MB / 0.5237 GB, free: 28.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/0.4853, allocations: 4.821 MB / 0.5284 GB, free: 27.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.4853, allocations: 1.312 kB / 0.5284 GB, free: 27.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004298/0.4896, allocations: 2.226 MB / 0.5306 GB, free: 26.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.4897, allocations: 40.58 kB / 0.5306 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.4897, allocations: 3.938 kB / 0.5306 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009233/0.4989, allocations: 2.312 MB / 0.5329 GB, free: 25.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.4997, allocations: 159.6 kB / 0.533 GB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.504, allocations: 2.336 MB / 0.5353 GB, free: 24.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5052, allocations: 151.5 kB / 0.5355 GB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.5053, allocations: 41.06 kB / 0.5355 GB, free: 24.47 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.0005688/0.5059, allocations: 290.5 kB / 0.5358 GB, free: 24.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.5061, allocations: 98.03 kB / 0.5359 GB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.5101, allocations: 2.3 MB / 0.5381 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.5102, allocations: 12.44 kB / 0.5381 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.5102, allocations: 1.094 kB / 0.5381 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.5102, allocations: 6.375 kB / 0.5381 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/0.5165, allocations: 3.694 MB / 0.5417 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5165, allocations: 0 / 0.5417 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.5169, allocations: 111.9 kB / 0.5419 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008859/0.5258, allocations: 2.173 MB / 0.544 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003081/0.5261, allocations: 41.95 kB / 0.544 GB, free: 20 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004116/0.5302, allocations: 2.478 MB / 0.5464 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5302, allocations: 0 / 0.5464 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/0.5339, allocations: 2.32 MB / 0.5487 GB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.5345, allocations: 274.9 kB / 0.549 GB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.5347, allocations: 40.75 kB / 0.549 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009921/0.5357, allocations: 106.8 kB / 0.5491 GB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/0.5359, allocations: 105.1 kB / 0.5492 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.536, allocations: 43.98 kB / 0.5492 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000463/0.5365, allocations: 378.8 kB / 0.5496 GB, free: 15.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5365, allocations: 4 kB / 0.5496 GB, free: 15.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008985/0.5374, allocations: 343.6 kB / 0.5499 GB, free: 15.23 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.00191/0.5393, allocations: 0.5462 MB / 0.5505 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004546/0.5438, allocations: 2 MB / 0.5524 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.5438, allocations: 4.656 kB / 0.5524 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.5468, allocations: 1.174 MB / 0.5536 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.5478, allocations: 125.7 kB / 0.5537 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.5508, allocations: 1.868 MB / 0.5555 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.5511, allocations: 377.4 kB / 0.5559 GB, free: 9.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003796/0.5515, allocations: 118.1 kB / 0.556 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.5516, allocations: 71.41 kB / 0.5561 GB, free: 9.113 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5517, allocations: 0 / 0.5561 GB, free: 9.113 MB / 382.1 MB Notification: Performance of Templates: time 0.06444/0.6161, allocations: 21.11 MB / 0.5767 GB, free: 4.211 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.883010586956516] Failed to read output from testmodel.py, exit status != 0: 0.6251658360706642 0.6406769330000001 0.49455289500000005 Calling exit ...