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.001398/0.001398, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.001761/0.001761, allocations: 169 kB / 23.84 MB, free: 0.7305 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 0.945/0.945, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.02217/0.02217, allocations: 4.477 MB / 265.2 MB, free: 8.539 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.764e-06/1.764e-06, allocations: 0 / 336.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.818e-05, allocations: 6.25 kB / 336.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.005275/0.005293, allocations: 1.98 MB / 338.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.006922, allocations: 1.676 MB / 340.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.007021, allocations: 4 kB / 340.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.007345, allocations: 135.1 kB / 340.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.007847, allocations: 238.5 kB / 340.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.009094, allocations: 1.144 MB / 341.6 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.009427, allocations: 382.3 kB / 342 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.009564, allocations: 76.27 kB / 342.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.0098, allocations: 223.6 kB / 342.3 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.01, allocations: 163.5 kB / 342.5 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.01004, allocations: 28 kB / 342.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.01041, allocations: 287.5 kB / 342.8 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.01048, allocations: 87.67 kB / 342.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.01058, allocations: 123.7 kB / 343 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.01107, allocations: 0.5179 MB / 343.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01107, allocations: 4 kB / 343.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01108, allocations: 3.984 kB / 343.5 MB, free: 6.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.01108, allocations: 0 / 343.5 MB, free: 6.184 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.001898/0.01298, allocations: 1.137 MB / 344.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.01301, allocations: 12.03 kB / 344.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/0.0131, allocations: 68.64 kB / 344.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.01332, allocations: 236.8 kB / 345 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.01342, allocations: 229.1 kB / 345.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.01346, allocations: 32.38 kB / 345.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.01402, allocations: 0.5602 MB / 345.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.01403, allocations: 192 / 345.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.01406, allocations: 12.38 kB / 345.8 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.01406, allocations: 8.125 kB / 345.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.01431, allocations: 170.8 kB / 346 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009983/0.01531, allocations: 1.043 MB / 347 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.01575, allocations: 364.6 kB / 347.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.01591, allocations: 143.5 kB / 347.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.01599, allocations: 19.98 kB / 347.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.01621, allocations: 307 kB / 347.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.192e-06/0.01621, allocations: 0 / 347.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001393/0.0176, allocations: 0.6848 MB / 348.5 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.01764, allocations: 144.5 kB / 348.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.01776, allocations: 277.7 kB / 348.9 MB, free: 408 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.01779, allocations: 37.7 kB / 349 MB, free: 364 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.01784, allocations: 203.9 kB / 349.2 MB, free: 156 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.01789, allocations: 107.1 kB / 349.3 MB, free: 48 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.01799, allocations: 91.83 kB / 349.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.01812, allocations: 0.5079 MB / 349.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.01827, allocations: 104.9 kB / 350 MB, free: 15.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.0185, allocations: 209.1 kB / 350.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.01883, allocations: 301.7 kB / 350.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01883, allocations: 0 / 350.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008615/0.01969, allocations: 0.5245 MB / 351 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01971, allocations: 7.938 kB / 351 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01972, allocations: 4 kB / 351 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.02083, allocations: 399.2 kB / 351.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.02099, allocations: 63.91 kB / 351.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008598/0.02185, allocations: 0.9951 MB / 352.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.02199, allocations: 39.78 kB / 352.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.02201, allocations: 15.98 kB / 352.5 MB, free: 12.69 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.0001136/0.02212, allocations: 180.5 kB / 352.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.0224, allocations: 137.4 kB / 352.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/0.02295, allocations: 385 kB / 353.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.02295, allocations: 8 kB / 353.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.02296, allocations: 4 kB / 353.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.02296, allocations: 3.984 kB / 353.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.02405, allocations: 0.9194 MB / 354.1 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02405, allocations: 0 / 354.1 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.02422, allocations: 75.84 kB / 354.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009955/0.02522, allocations: 399.2 kB / 354.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.02524, allocations: 8 kB / 354.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007771/0.02602, allocations: 1.007 MB / 355.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02602, allocations: 160 / 355.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.0274, allocations: 0.7459 MB / 356.3 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.02744, allocations: 39.69 kB / 356.4 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.02748, allocations: 12 kB / 356.4 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.02764, allocations: 35.95 kB / 356.4 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.02769, allocations: 27.89 kB / 356.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.02772, allocations: 12 kB / 356.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.363e-05/0.02781, allocations: 195.2 kB / 356.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02781, allocations: 0 / 356.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002637/0.02807, allocations: 103.9 kB / 356.8 MB, free: 8.277 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.0001632/0.02824, allocations: 139 kB / 356.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008411/0.02908, allocations: 442.8 kB / 357.3 MB, free: 7.703 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02908, allocations: 0 / 357.3 MB, free: 7.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.02959, allocations: 255.4 kB / 357.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.02993, allocations: 84.73 kB / 357.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.03124, allocations: 0.6886 MB / 358.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.309e-05/0.03131, allocations: 106.2 kB / 358.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.857e-05/0.03139, allocations: 38.94 kB / 358.5 MB, free: 6.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.03145, allocations: 28.5 kB / 358.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03145, allocations: 4 kB / 358.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of Templates: time 0.00722/0.03867, allocations: 5.751 MB / 364.3 MB, free: 0.7422 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.937065301928669]