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.001286/0.001286, allocations: 115.2 kB / 17.85 MB, free: 5.184 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.00136/0.00136, allocations: 207.3 kB / 20.81 MB, free: 2.234 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.48/1.48, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.04034/0.04034, allocations: 6.141 MB / 316.4 MB, free: 1.141 MB / 238.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.001648/0.001648, allocations: 50 kB / 440.4 MB, free: 40.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09908, allocations: 54.97 MB / 495.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.004876/0.104, allocations: 4.677 MB / 0.4884 GB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004374/0.1083, allocations: 3.322 MB / 0.4916 GB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.1092, allocations: 16 kB / 0.4916 GB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008563/0.1101, allocations: 282.2 kB / 0.4919 GB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.1117, allocations: 0.5786 MB / 0.4924 GB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.1143, allocations: 1.475 MB / 0.4939 GB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.1161, allocations: 1.098 MB / 0.495 GB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.1165, allocations: 213.9 kB / 0.4952 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006287/0.1172, allocations: 466.3 kB / 0.4956 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007454/0.1179, allocations: 0.5407 MB / 0.4961 GB, free: 13.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.1181, allocations: 92 kB / 0.4962 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.1191, allocations: 475.6 kB / 0.4967 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.1194, allocations: 215.1 kB / 0.4969 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005265/0.1199, allocations: 0.4935 MB / 0.4974 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.1219, allocations: 1.327 MB / 0.4987 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1219, allocations: 4 kB / 0.4987 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1219, allocations: 0 / 0.4987 GB, free: 10.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1219, allocations: 0 / 0.4987 GB, free: 10.64 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.01146/0.1333, allocations: 2.624 MB / 0.5012 GB, free: 7.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.1334, allocations: 11.97 kB / 0.5012 GB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.1337, allocations: 116.3 kB / 0.5013 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.1348, allocations: 0.578 MB / 0.5019 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.135, allocations: 164.7 kB / 0.5021 GB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.1351, allocations: 79.94 kB / 0.5021 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.1372, allocations: 1.089 MB / 0.5032 GB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1373, allocations: 0 / 0.5032 GB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.1374, allocations: 36 kB / 0.5032 GB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.1374, allocations: 12 kB / 0.5033 GB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.1392, allocations: 0.9812 MB / 0.5042 GB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/0.1451, allocations: 3.238 MB / 0.5074 GB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.1473, allocations: 1.428 MB / 0.5088 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.1485, allocations: 0.6352 MB / 0.5094 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.1486, allocations: 24.97 kB / 0.5094 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.1504, allocations: 1.007 MB / 0.5104 GB, free: 14.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=123): time 3.878e-06/0.1504, allocations: 0 / 0.5104 GB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=123): time 0.02394/0.1744, allocations: 5.502 MB / 0.5158 GB, free: 8.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/0.1746, allocations: 256.3 kB / 0.516 GB, free: 8.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009156/0.1755, allocations: 0.538 MB / 0.5165 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.1757, allocations: 57.7 kB / 0.5166 GB, free: 7.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.176, allocations: 282.2 kB / 0.5169 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.1764, allocations: 416.5 kB / 0.5173 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004385/0.1769, allocations: 218.9 kB / 0.5175 GB, free: 6.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.1771, allocations: 390.8 kB / 0.5178 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.1783, allocations: 0.6586 MB / 0.5185 GB, free: 5.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.1795, allocations: 0.7633 MB / 0.5192 GB, free: 5.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/0.1989, allocations: 4.776 MB / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1989, allocations: 4 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004435/0.2033, allocations: 2.144 MB / 0.526 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.2034, allocations: 37.69 kB / 0.526 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2034, allocations: 0 / 0.526 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009634/0.2131, allocations: 2.285 MB / 0.5283 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.2138, allocations: 159.7 kB / 0.5284 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005024/0.2189, allocations: 2.254 MB / 0.5306 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.2201, allocations: 147.3 kB / 0.5308 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.2203, allocations: 51.92 kB / 0.5308 GB, free: 9.09 MB / 398.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.0007713/0.221, allocations: 295.5 kB / 0.5311 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.2214, allocations: 95.44 kB / 0.5312 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004724/0.2261, allocations: 2.197 MB / 0.5333 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/0.2261, allocations: 12 kB / 0.5333 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.2261, allocations: 0 / 0.5333 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.2262, allocations: 11.95 kB / 0.5333 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007475/0.2336, allocations: 3.996 MB / 0.5372 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2336, allocations: 0 / 0.5372 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.2341, allocations: 127.8 kB / 0.5374 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009333/0.2434, allocations: 2.117 MB / 0.5394 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.2436, allocations: 31.98 kB / 0.5395 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00542/0.249, allocations: 2.388 MB / 0.5418 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2491, allocations: 0 / 0.5418 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/0.254, allocations: 2.22 MB / 0.544 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.2547, allocations: 348.1 kB / 0.5443 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.2549, allocations: 32 kB / 0.5443 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.256, allocations: 111.8 kB / 0.5444 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.2563, allocations: 97.17 kB / 0.5445 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.2564, allocations: 55.86 kB / 0.5446 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006654/0.2571, allocations: 374.8 kB / 0.5449 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2571, allocations: 0 / 0.5449 GB, free: 10.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001069/0.2582, allocations: 347.6 kB / 0.5453 GB, free: 10.08 MB / 414.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.001934/0.2601, allocations: 0.5187 MB / 0.5458 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005547/0.2657, allocations: 1.913 MB / 0.5476 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.2657, allocations: 0.6562 kB / 0.5476 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003876/0.2695, allocations: 1.126 MB / 0.5487 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.2706, allocations: 122.3 kB / 0.5489 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.2748, allocations: 1.847 MB / 0.5507 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.2755, allocations: 0.9655 MB / 0.5516 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.2758, allocations: 87.34 kB / 0.5517 GB, free: 3.594 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2758, allocations: 4 kB / 0.5517 GB, free: 3.59 MB / 414.1 MB Notification: Performance of Templates: time 0.02704/0.3028, allocations: 16.57 MB / 0.5679 GB, free: 3.004 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.6861607489991] Failed to read output from testmodel.py, exit status != 0: 0.3117061679949984 0.327154847 0.20229687400000002 Calling exit ...