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.001867/0.001867, allocations: 88.98 kB / 20.25 MB, free: 4.172 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.001975/0.001975, allocations: 173.2 kB / 23.57 MB, free: 0.8555 MB / 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 1.551/1.551, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 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.03972/0.03972, allocations: 4.476 MB / 264.8 MB, free: 8.578 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.914e-06/1.914e-06, allocations: 0 / 335.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.358e-05, allocations: 5.125 kB / 335.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003853/0.003886, allocations: 1.946 MB / 337.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.007172, allocations: 1.653 MB / 339.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.007374, allocations: 7.938 kB / 339.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.008007, allocations: 143.1 kB / 339.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.00902, allocations: 230.5 kB / 339.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.01237, allocations: 1.151 MB / 340.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.01307, allocations: 374.4 kB / 341.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.01332, allocations: 73.12 kB / 341.3 MB, free: 8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006157/0.01394, allocations: 235.4 kB / 341.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.01442, allocations: 151.6 kB / 341.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.01452, allocations: 36 kB / 341.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007756/0.0153, allocations: 287.5 kB / 342 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.01542, allocations: 91.66 kB / 342.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.01565, allocations: 119.7 kB / 342.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.01666, allocations: 0.6075 MB / 342.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.01667, allocations: 4 kB / 342.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01667, allocations: 0 / 342.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.01668, allocations: 0 / 342.8 MB, free: 6.484 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.006618/0.0233, allocations: 1.156 MB / 344 MB, free: 5.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.02335, allocations: 8.031 kB / 344 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.02359, allocations: 64.7 kB / 344 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.02416, allocations: 236.1 kB / 344.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.02441, allocations: 221.1 kB / 344.5 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.02451, allocations: 32.38 kB / 344.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.02649, allocations: 0.7008 MB / 345.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.02651, allocations: 192 / 345.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.02657, allocations: 16.38 kB / 345.2 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.02659, allocations: 12.12 kB / 345.3 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.02773, allocations: 293.8 kB / 345.5 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.03074, allocations: 1.152 MB / 346.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.03262, allocations: 0.49 MB / 347.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007143/0.03333, allocations: 239.7 kB / 347.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.03352, allocations: 23.92 kB / 347.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006168/0.03413, allocations: 379 kB / 347.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 3.086e-06/0.03414, allocations: 0 / 347.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.005481/0.03962, allocations: 0.9816 MB / 348.8 MB, free: 188 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.0397, allocations: 136.5 kB / 348.9 MB, free: 20 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006478/0.04035, allocations: 317.6 kB / 349.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/0.04044, allocations: 37.7 kB / 349.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.04072, allocations: 211.9 kB / 349.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.04093, allocations: 111.1 kB / 349.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.04125, allocations: 99.83 kB / 349.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004633/0.04172, allocations: 0.5274 MB / 350.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/0.04235, allocations: 172.9 kB / 350.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.04312, allocations: 285.1 kB / 350.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.04449, allocations: 445.6 kB / 351.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.0445, allocations: 4 kB / 351.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003055/0.04755, allocations: 0.6847 MB / 351.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.04759, allocations: 11.92 kB / 351.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.0476, allocations: 8.062 kB / 351.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004468/0.05207, allocations: 467.1 kB / 352.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.05267, allocations: 71.89 kB / 352.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.05618, allocations: 1.186 MB / 353.5 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.05678, allocations: 35.78 kB / 353.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/0.05686, allocations: 11.98 kB / 353.6 MB, free: 11.23 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.0005256/0.05739, allocations: 200.5 kB / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/0.05848, allocations: 181.9 kB / 353.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.06086, allocations: 0.5439 MB / 354.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.06087, allocations: 12 kB / 354.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.06088, allocations: 0 / 354.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.0609, allocations: 0 / 354.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004993/0.06589, allocations: 1.184 MB / 355.7 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.0659, allocations: 7.938 kB / 355.7 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.06659, allocations: 71.91 kB / 355.8 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004281/0.07087, allocations: 471.1 kB / 356.2 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/0.07095, allocations: 12 kB / 356.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.07442, allocations: 1.186 MB / 357.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.07443, allocations: 160 / 357.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00527/0.07969, allocations: 0.9762 MB / 358.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.07987, allocations: 39.67 kB / 358.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.08, allocations: 8 kB / 358.4 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/0.08075, allocations: 32 kB / 358.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.0809, allocations: 27.95 kB / 358.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/0.08099, allocations: 19.98 kB / 358.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004206/0.08141, allocations: 207.3 kB / 358.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.08141, allocations: 0 / 358.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008853/0.08229, allocations: 111.9 kB / 358.8 MB, free: 5.816 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.0004111/0.0827, allocations: 139.1 kB / 359 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003612/0.08632, allocations: 0.5924 MB / 359.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.08632, allocations: 0 / 359.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002374/0.0887, allocations: 323.5 kB / 359.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.08996, allocations: 104.8 kB / 360 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.09367, allocations: 0.7356 MB / 360.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.09398, allocations: 165.4 kB / 360.9 MB, free: 3.699 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002669/0.09425, allocations: 46.94 kB / 360.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.09442, allocations: 32.48 kB / 360.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of SimCode: time 1.472e-06/0.09442, allocations: 0 / 360.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of Templates: time 0.01728/0.1117, allocations: 5.743 MB / 366.7 MB, free: 13.93 MB / 298.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: 4.861049836035818]