Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.000973/0.000973, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002454, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001066/0.001066, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.00258, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9056/0.9056, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07546/0.9811, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.02206/0.02206, allocations: 4.469 MB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00365/0.02571, allocations: 2.081 MB / 250.7 MB, free: 8.195 MB / 250.7 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.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 4 kB / 252 MB, free: 6.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.26e-05, allocations: 6.109 kB / 252 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.001872/0.001885, allocations: 2.011 MB / 254 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003332, allocations: 1.699 MB / 255.7 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.003406, allocations: 4 kB / 255.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.003638, allocations: 139.1 kB / 255.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.00397, allocations: 230.5 kB / 256.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.00502, allocations: 1.135 MB / 257.2 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.005374, allocations: 382.3 kB / 257.6 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.005501, allocations: 78.89 kB / 257.6 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.005751, allocations: 255.4 kB / 257.9 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.005933, allocations: 151.6 kB / 258 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.005972, allocations: 32 kB / 258.1 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.006334, allocations: 299.5 kB / 258.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.006392, allocations: 67.8 kB / 258.4 MB, free: 440 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.006467, allocations: 91.81 kB / 258.5 MB, free: 348 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.00688, allocations: 478.6 kB / 259 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.006887, allocations: 0 / 259 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006888, allocations: 0 / 259 MB, free: 15.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.006896, allocations: 4 kB / 259 MB, free: 15.86 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001939/0.008835, allocations: 1.191 MB / 260.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.008864, allocations: 8.031 kB / 260.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.008939, allocations: 52.89 kB / 260.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.009137, allocations: 194 kB / 260.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.009264, allocations: 221.1 kB / 260.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.009312, allocations: 36.38 kB / 260.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.009781, allocations: 0.5113 MB / 261.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.009789, allocations: 192 / 261.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.009814, allocations: 16.38 kB / 261.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.009821, allocations: 8.125 kB / 261.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.009989, allocations: 114.3 kB / 261.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.01085, allocations: 0.7308 MB / 262.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.01121, allocations: 341 kB / 262.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.01132, allocations: 102.7 kB / 262.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.01139, allocations: 23.92 kB / 262.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.01159, allocations: 279 kB / 262.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.302e-06/0.01159, allocations: 4 kB / 262.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001086/0.01268, allocations: 0.5441 MB / 263.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.01273, allocations: 114.8 kB / 263.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.01285, allocations: 217.2 kB / 263.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.01288, allocations: 33.83 kB / 263.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.01294, allocations: 149 kB / 263.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.01299, allocations: 111.1 kB / 264 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.01308, allocations: 86.08 kB / 264 MB, free: 10.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.01315, allocations: 342.6 kB / 264.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.01324, allocations: 71.81 kB / 264.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01335, allocations: 152.2 kB / 264.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.01355, allocations: 228.9 kB / 264.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01355, allocations: 8.031 kB / 264.8 MB, free: 9.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005047/0.01406, allocations: 381.7 kB / 265.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01407, allocations: 4 kB / 265.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01408, allocations: 11.94 kB / 265.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009644/0.01504, allocations: 416.3 kB / 265.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.01521, allocations: 79.88 kB / 265.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006186/0.01583, allocations: 0.7045 MB / 266.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.01594, allocations: 35.78 kB / 266.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.01596, allocations: 8 kB / 266.4 MB, free: 7.977 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 9.733e-05/0.01606, allocations: 144.5 kB / 266.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.01616, allocations: 93.59 kB / 266.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.01653, allocations: 294.2 kB / 267 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01654, allocations: 8 kB / 267 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.01654, allocations: 4 kB / 267 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01655, allocations: 3.984 kB / 267 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.01733, allocations: 0.6915 MB / 267.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01733, allocations: 3.984 kB / 267.7 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.01751, allocations: 79.89 kB / 267.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.01754, allocations: 39.73 kB / 267.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008958/0.01843, allocations: 416.2 kB / 268.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.01845, allocations: 8 kB / 268.2 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005969/0.01905, allocations: 0.7123 MB / 268.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01905, allocations: 0 / 268.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.01979, allocations: 0.5636 MB / 269.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.01983, allocations: 12 kB / 269.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.01997, allocations: 24.14 kB / 269.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.02002, allocations: 23.95 kB / 269.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.02004, allocations: 15.98 kB / 269.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.549e-05/0.02009, allocations: 71.48 kB / 269.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02009, allocations: 8 kB / 269.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000227/0.02032, allocations: 103.9 kB / 269.7 MB, free: 4.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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 {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.02048, allocations: 116.2 kB / 269.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.02108, allocations: 376.9 kB / 270.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.02109, allocations: 4 kB / 270.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.02148, allocations: 240.4 kB / 270.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.02178, allocations: 178.9 kB / 270.6 MB, free: 3.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.02752, allocations: 0.6805 MB / 271.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.02758, allocations: 102.3 kB / 271.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.54e-05/0.02766, allocations: 42.94 kB / 271.5 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.02781, allocations: 107.3 kB / 271.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02781, allocations: 0 / 271.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of Templates: time 0.007437/0.03524, allocations: 6.339 MB / 277.9 MB, free: 12.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3216323032975197]