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.0007864/0.0007864, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009464/0.001733, allocations: 447.8 kB / 10.35 MB, free: 348 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.000728/0.000728, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009125/0.001641, allocations: 467.6 kB / 11.69 MB, free: 2.477 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 1.131/1.131, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1407/1.272, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.04162/0.04162, allocations: 4.478 MB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0117/0.05332, allocations: 2.088 MB / 250.5 MB, free: 8.297 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 3.356e-06/3.356e-06, allocations: 0 / 251.8 MB, free: 7.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.824e-05/4.16e-05, allocations: 2.312 kB / 251.8 MB, free: 7.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002952/0.002993, allocations: 2.011 MB / 253.8 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.004914, allocations: 1.687 MB / 255.5 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.005016, allocations: 4 kB / 255.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.005326, allocations: 139.1 kB / 255.6 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.005793, allocations: 226.6 kB / 255.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.007051, allocations: 1.151 MB / 257 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.007476, allocations: 378.4 kB / 257.4 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.007658, allocations: 79.47 kB / 257.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.007992, allocations: 255.4 kB / 257.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.00822, allocations: 155.6 kB / 257.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.008263, allocations: 35.94 kB / 257.9 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.008647, allocations: 291.6 kB / 258.2 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.008724, allocations: 67.8 kB / 258.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.008832, allocations: 91.81 kB / 258.3 MB, free: 484 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.009314, allocations: 478.5 kB / 258.8 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.00933, allocations: 0 / 258.8 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.009333, allocations: 0 / 258.8 MB, free: 4 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.009366, allocations: 4.062 kB / 258.8 MB, free: 16 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.002256/0.01162, allocations: 1.191 MB / 260 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.01167, allocations: 8.031 kB / 260 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.01177, allocations: 56.89 kB / 260 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.01203, allocations: 194 kB / 260.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.01218, allocations: 221.1 kB / 260.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.01222, allocations: 32.38 kB / 260.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.01281, allocations: 0.5191 MB / 261 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.01283, allocations: 192 / 261 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.01285, allocations: 12.38 kB / 261 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.01286, allocations: 8.125 kB / 261 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.01305, allocations: 114.3 kB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.01403, allocations: 0.7308 MB / 261.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.01445, allocations: 344.8 kB / 262.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.01456, allocations: 102.5 kB / 262.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/0.01465, allocations: 19.98 kB / 262.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.01489, allocations: 282.5 kB / 262.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.764e-06/0.01489, allocations: 0 / 262.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001145/0.01603, allocations: 0.5441 MB / 263.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.0161, allocations: 114.8 kB / 263.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.01624, allocations: 217.2 kB / 263.5 MB, free: 11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.01628, allocations: 37.83 kB / 263.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.01636, allocations: 149 kB / 263.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.01642, allocations: 107.3 kB / 263.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.01651, allocations: 86.03 kB / 263.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01662, allocations: 346.6 kB / 264.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.0167, allocations: 71.81 kB / 264.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.01683, allocations: 152.2 kB / 264.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.01705, allocations: 229.6 kB / 264.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01705, allocations: 4.031 kB / 264.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005488/0.0176, allocations: 388.6 kB / 265 MB, free: 9.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.01763, allocations: 4 kB / 265 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.01763, allocations: 0 / 265 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009537/0.01859, allocations: 384.3 kB / 265.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.01877, allocations: 79.89 kB / 265.5 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006776/0.01944, allocations: 0.7045 MB / 266.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.01956, allocations: 27.78 kB / 266.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.01958, allocations: 15.98 kB / 266.2 MB, free: 8.145 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 0.0001173/0.0197, allocations: 140.5 kB / 266.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.01981, allocations: 101.6 kB / 266.4 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.02023, allocations: 290.2 kB / 266.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.02023, allocations: 8 kB / 266.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.02024, allocations: 0 / 266.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.02024, allocations: 7.969 kB / 266.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.02112, allocations: 0.6949 MB / 267.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.02113, allocations: 3.938 kB / 267.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.02132, allocations: 83.95 kB / 267.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.02135, allocations: 39.66 kB / 267.6 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008649/0.02222, allocations: 376.9 kB / 267.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.02224, allocations: 12 kB / 267.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006143/0.02286, allocations: 0.7045 MB / 268.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02286, allocations: 0 / 268.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.02361, allocations: 0.5675 MB / 269.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.02365, allocations: 4 kB / 269.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.02379, allocations: 31.97 kB / 269.2 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.02384, allocations: 27.95 kB / 269.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.02386, allocations: 12 kB / 269.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.02391, allocations: 71.73 kB / 269.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02391, allocations: 0 / 269.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.02414, allocations: 103.9 kB / 269.5 MB, free: 4.777 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.0001805/0.02432, allocations: 124.3 kB / 269.6 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006205/0.02494, allocations: 365 kB / 269.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/0.02495, allocations: 4 kB / 269.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.02535, allocations: 236.4 kB / 270.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.02567, allocations: 111.5 kB / 270.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.03149, allocations: 0.692 MB / 271 MB, free: 3.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.036e-05/0.03156, allocations: 106.3 kB / 271.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.57e-05/0.03165, allocations: 42.94 kB / 271.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.03179, allocations: 103.3 kB / 271.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of SimCode: time 1.422e-06/0.03179, allocations: 0 / 271.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of Templates: time 0.1509/0.1827, allocations: 6.275 MB / 277.5 MB, free: 15.64 MB / 266.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: 3.1837361874058843]