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.0009924/0.0009924, allocations: 84.22 kB / 20.98 MB, free: 3.566 MB / 18.57 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.001148/0.001148, allocations: 165 kB / 24.29 MB, free: 268 kB / 18.57 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.975/0.975, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.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.02238/0.02238, allocations: 4.484 MB / 265.6 MB, free: 8.645 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 1.313e-06/1.313e-06, allocations: 0 / 336.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.524e-05, allocations: 8.641 kB / 336.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.001755/0.00177, allocations: 1.973 MB / 338.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.003228, allocations: 1.672 MB / 340.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.513e-05/0.003323, allocations: 4 kB / 340.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.003641, allocations: 139.1 kB / 340.3 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.004078, allocations: 230.5 kB / 340.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.005107, allocations: 1.147 MB / 341.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.005526, allocations: 374.4 kB / 342 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.00568, allocations: 80.22 kB / 342.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.005896, allocations: 231.5 kB / 342.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.00607, allocations: 151.6 kB / 342.4 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.006106, allocations: 32 kB / 342.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.006425, allocations: 287.5 kB / 342.8 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.006492, allocations: 95.66 kB / 342.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.006581, allocations: 123.7 kB / 343 MB, free: 7.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.007046, allocations: 0.5179 MB / 343.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.007049, allocations: 0 / 343.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007049, allocations: 0 / 343.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.007055, allocations: 0 / 343.5 MB, free: 6.555 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.002066/0.00912, allocations: 1.134 MB / 344.6 MB, free: 5.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.009154, allocations: 11.97 kB / 344.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/0.00925, allocations: 72.7 kB / 344.7 MB, free: 5.297 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.009499, allocations: 248.8 kB / 344.9 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.009626, allocations: 225.1 kB / 345.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.00967, allocations: 32.38 kB / 345.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.01025, allocations: 0.5524 MB / 345.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01026, allocations: 192 / 345.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.01029, allocations: 20.38 kB / 345.8 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.01031, allocations: 12.12 kB / 345.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.01055, allocations: 158.9 kB / 345.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01164, allocations: 1.047 MB / 347 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.01215, allocations: 353.8 kB / 347.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.01233, allocations: 147.5 kB / 347.5 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.794e-05/0.01242, allocations: 15.98 kB / 347.5 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.01265, allocations: 307 kB / 347.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.01265, allocations: 0 / 347.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001457/0.01411, allocations: 0.6847 MB / 348.5 MB, free: 1.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.01415, allocations: 144.7 kB / 348.6 MB, free: 1.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.01429, allocations: 277.6 kB / 348.9 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.01432, allocations: 37.7 kB / 348.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.01438, allocations: 207.9 kB / 349.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.01443, allocations: 107.1 kB / 349.2 MB, free: 428 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.578e-05/0.01452, allocations: 91.83 kB / 349.3 MB, free: 328 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.01463, allocations: 0.5118 MB / 349.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.01478, allocations: 101 kB / 349.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.01498, allocations: 213.1 kB / 350.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.01534, allocations: 297.7 kB / 350.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01534, allocations: 0 / 350.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008104/0.01616, allocations: 0.5168 MB / 350.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01617, allocations: 11.94 kB / 351 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01618, allocations: 0 / 351 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.01731, allocations: 403.1 kB / 351.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.01747, allocations: 67.89 kB / 351.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.0183, allocations: 1.003 MB / 352.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.01844, allocations: 27.78 kB / 352.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.01846, allocations: 19.98 kB / 352.5 MB, free: 13.06 MB / 282.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.0001244/0.01859, allocations: 180.5 kB / 352.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.01875, allocations: 133.4 kB / 352.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.01934, allocations: 393 kB / 353.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01935, allocations: 4 kB / 353.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01935, allocations: 4 kB / 353.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01936, allocations: 3.984 kB / 353.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.02046, allocations: 0.9194 MB / 354.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02046, allocations: 0 / 354.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.02064, allocations: 75.84 kB / 354.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.02164, allocations: 391.2 kB / 354.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.02166, allocations: 12 kB / 354.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008193/0.02248, allocations: 1.007 MB / 355.6 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02249, allocations: 160 / 355.6 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.02369, allocations: 0.7537 MB / 356.3 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.02372, allocations: 39.67 kB / 356.4 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.02377, allocations: 8 kB / 356.4 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.02394, allocations: 35.95 kB / 356.4 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.024, allocations: 23.95 kB / 356.4 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.02403, allocations: 16 kB / 356.4 MB, free: 8.941 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.02414, allocations: 187.3 kB / 356.6 MB, free: 8.758 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02414, allocations: 0 / 356.6 MB, free: 8.758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.02442, allocations: 111.9 kB / 356.7 MB, free: 8.648 MB / 282.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.0001799/0.0246, allocations: 135 kB / 356.9 MB, free: 8.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008442/0.02544, allocations: 438.8 kB / 357.3 MB, free: 8.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02544, allocations: 4 kB / 357.3 MB, free: 8.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.02595, allocations: 259.3 kB / 357.5 MB, free: 7.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.02632, allocations: 84.83 kB / 357.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.02769, allocations: 0.6877 MB / 358.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.109e-05/0.02775, allocations: 106.2 kB / 358.4 MB, free: 6.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.645e-05/0.02784, allocations: 38.95 kB / 358.5 MB, free: 6.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.02791, allocations: 36.42 kB / 358.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02791, allocations: 0 / 358.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of Templates: time 0.006865/0.03477, allocations: 5.747 MB / 364.2 MB, free: 1.117 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: 3.016742296051234]