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.001781/0.001781, allocations: 71.64 kB / 19.97 MB, free: 1.746 MB / 14.72 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.002122/0.002122, allocations: 166.9 kB / 23.25 MB, free: 4.871 MB / 14.72 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.56/1.56, allocations: 177.1 MB / 203.6 MB, free: 9.176 MB / 190.1 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.03571/0.03571, allocations: 4.486 MB / 264.5 MB, free: 12.21 MB / 254.1 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.293e-06/1.293e-06, allocations: 0 / 390.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.315e-05, allocations: 5.234 kB / 390.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002935/0.002958, allocations: 1.845 MB / 392 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.005425, allocations: 1.637 MB / 393.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.005535, allocations: 4 kB / 393.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.006035, allocations: 139.1 kB / 393.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.006731, allocations: 234.5 kB / 394 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.008849, allocations: 1.112 MB / 395.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005175/0.009367, allocations: 378.4 kB / 395.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.009534, allocations: 72.3 kB / 395.5 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.009886, allocations: 231.5 kB / 395.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.01017, allocations: 155.5 kB / 395.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.01024, allocations: 32 kB / 395.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.01071, allocations: 287.5 kB / 396.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.01083, allocations: 87.72 kB / 396.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.011, allocations: 123.7 kB / 396.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007612/0.01176, allocations: 0.596 MB / 397 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01176, allocations: 0 / 397 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01176, allocations: 0 / 397 MB, free: 5.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.01177, allocations: 4 kB / 397 MB, free: 5.719 MB / 318.1 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.004204/0.01597, allocations: 1.055 MB / 398.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.01601, allocations: 12.03 kB / 398.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.01613, allocations: 40.7 kB / 398.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.01654, allocations: 233.4 kB / 398.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.01687, allocations: 233.1 kB / 398.6 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.01692, allocations: 28.38 kB / 398.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.01878, allocations: 0.8511 MB / 399.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.01879, allocations: 192 / 399.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/0.01884, allocations: 12.38 kB / 399.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.01885, allocations: 16.12 kB / 399.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.01999, allocations: 461.7 kB / 399.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.02218, allocations: 1.046 MB / 401 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.02385, allocations: 0.5899 MB / 401.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.02451, allocations: 298.5 kB / 401.9 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.02462, allocations: 15.98 kB / 401.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005041/0.02513, allocations: 376.2 kB / 402.2 MB, free: 216 kB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.02513, allocations: 0 / 402.2 MB, free: 216 kB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.003937/0.02907, allocations: 1.135 MB / 403.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.0292, allocations: 144.5 kB / 403.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.02947, allocations: 239 kB / 403.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.02953, allocations: 33.7 kB / 403.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.02964, allocations: 156.9 kB / 403.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.02975, allocations: 115.1 kB / 404 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.0299, allocations: 82.17 kB / 404.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.03006, allocations: 334.8 kB / 404.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.03039, allocations: 192.9 kB / 404.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.03079, allocations: 272.2 kB / 404.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.0315, allocations: 451.5 kB / 405.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.03151, allocations: 0 / 405.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001605/0.03311, allocations: 0.6936 MB / 406 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.03313, allocations: 11.94 kB / 406 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.03314, allocations: 4.062 kB / 406.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/0.03549, allocations: 460.3 kB / 406.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.03579, allocations: 71.83 kB / 406.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.03748, allocations: 0.9076 MB / 407.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.0378, allocations: 39.67 kB / 407.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.03784, allocations: 15.98 kB / 407.5 MB, free: 10.75 MB / 334.1 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.000217/0.03806, allocations: 161.7 kB / 407.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007635/0.03882, allocations: 253.3 kB / 407.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.04003, allocations: 0.5683 MB / 408.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.04004, allocations: 12 kB / 408.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.04005, allocations: 0 / 408.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.04006, allocations: 3.984 kB / 408.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.04279, allocations: 1.218 MB / 409.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.04279, allocations: 0 / 409.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.0432, allocations: 87.81 kB / 409.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.04542, allocations: 452.4 kB / 410.3 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.04546, allocations: 12 kB / 410.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.04708, allocations: 0.9037 MB / 411.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.04708, allocations: 11.98 kB / 411.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.04989, allocations: 0.991 MB / 412.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.04995, allocations: 35.69 kB / 412.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.05001, allocations: 12 kB / 412.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.05045, allocations: 47.95 kB / 412.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.05053, allocations: 19.95 kB / 412.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.05058, allocations: 12 kB / 412.3 MB, free: 5.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.05077, allocations: 167.3 kB / 412.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05077, allocations: 4 kB / 412.5 MB, free: 5.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.05121, allocations: 103.9 kB / 412.6 MB, free: 5.578 MB / 334.1 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.0002412/0.05145, allocations: 135.7 kB / 412.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.05344, allocations: 0.6353 MB / 413.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.05344, allocations: 96 / 413.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.05459, allocations: 311.9 kB / 413.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.05536, allocations: 149.4 kB / 413.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.05784, allocations: 0.8344 MB / 414.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.05802, allocations: 173.4 kB / 414.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.05816, allocations: 38.95 kB / 414.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.05826, allocations: 36.48 kB / 414.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.05826, allocations: 0 / 414.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Templates: time 0.01111/0.06937, allocations: 5.668 MB / 420.5 MB, free: 13.6 MB / 350.1 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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6841360330581665] Failed to read output from testmodel.py, exit status != 0: 0.07766924798488617 0.092593823 0.077672185 Calling exit ...