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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003939/0.003939, allocations: 92.78 kB / 15.91 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009989/0.0009989, allocations: 201.1 kB / 16.84 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1354/0.1354, allocations: 8.091 MB / 298.7 MB, free: 2.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009663/0.0009663, allocations: 55.92 kB / 361 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08698, allocations: 51.53 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002904/0.08993, allocations: 2.082 MB / 414.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.09193, allocations: 1.637 MB / 416.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.09203, allocations: 7.938 kB / 416.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.09237, allocations: 115.5 kB / 416.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.09284, allocations: 219 kB / 416.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.09459, allocations: 1.183 MB / 417.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.09499, allocations: 362.5 kB / 418.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.09514, allocations: 99.8 kB / 418.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.09534, allocations: 147.5 kB / 418.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.09556, allocations: 191.2 kB / 418.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.09562, allocations: 20 kB / 418.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.096, allocations: 283.7 kB / 418.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.09609, allocations: 71.73 kB / 418.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.09624, allocations: 171.2 kB / 419.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.09675, allocations: 0.5453 MB / 419.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.09676, allocations: 0 / 419.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.09677, allocations: 0 / 419.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.09678, allocations: 3.938 kB / 419.6 MB, free: 3.051 MB / 350.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.003627/0.1004, allocations: 1.108 MB / 420.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1005, allocations: 12.03 kB / 420.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.1006, allocations: 36.56 kB / 420.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1009, allocations: 291.5 kB / 421.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.1011, allocations: 112.5 kB / 421.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.1011, allocations: 28.38 kB / 421.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.1026, allocations: 0.7098 MB / 421.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1026, allocations: 3.938 kB / 421.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.1027, allocations: 12 kB / 421.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1027, allocations: 4 kB / 422 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009375/0.1037, allocations: 457.4 kB / 422.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1056, allocations: 1.538 MB / 423.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.1071, allocations: 0.7115 MB / 424.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.1077, allocations: 318.5 kB / 425 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.1078, allocations: 97.23 kB / 425.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/0.1082, allocations: 277.4 kB / 425.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.1082, allocations: 4.219 kB / 425.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.003452/0.1117, allocations: 1.215 MB / 426.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.1118, allocations: 148.5 kB / 426.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.112, allocations: 231.9 kB / 426.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.112, allocations: 37.7 kB / 427 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.1121, allocations: 148.8 kB / 427.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.1122, allocations: 110.4 kB / 427.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1124, allocations: 94.23 kB / 427.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1125, allocations: 338.8 kB / 427.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.1128, allocations: 205 kB / 427.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.1131, allocations: 336.4 kB / 428.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.1138, allocations: 0.5375 MB / 428.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1138, allocations: 0 / 428.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001531/0.1154, allocations: 0.7903 MB / 429.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1154, allocations: 11.94 kB / 429.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.1154, allocations: 7.984 kB / 429.5 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.1175, allocations: 460.4 kB / 430 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.1178, allocations: 91.83 kB / 430 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.1192, allocations: 0.9096 MB / 431 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.1195, allocations: 55.45 kB / 431 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.1196, allocations: 20 kB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (52): * Single equations (assignments): 51 * 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.0001628/0.1197, allocations: 165.6 kB / 431.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006438/0.1204, allocations: 245.3 kB / 431.4 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1214, allocations: 0.5827 MB / 432 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1214, allocations: 7.938 kB / 432 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1214, allocations: 4 kB / 432 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1214, allocations: 3.984 kB / 432 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.1238, allocations: 1.381 MB / 433.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1238, allocations: 0 / 433.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.1242, allocations: 91.88 kB / 433.5 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.1262, allocations: 460.3 kB / 433.9 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.1262, allocations: 15.98 kB / 434 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.1276, allocations: 0.9075 MB / 434.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1276, allocations: 0 / 434.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.13, allocations: 0.9958 MB / 435.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.1301, allocations: 112.8 kB / 436 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.1302, allocations: 8 kB / 436 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.1305, allocations: 43.84 kB / 436 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.1306, allocations: 27.97 kB / 436.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.1307, allocations: 19.98 kB / 436.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1308, allocations: 167.1 kB / 436.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1308, allocations: 0 / 436.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.1313, allocations: 115.8 kB / 436.3 MB, free: 1.602 MB / 366.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.0002227/0.1315, allocations: 123.3 kB / 436.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.1333, allocations: 0.6906 MB / 437.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1333, allocations: 0 / 437.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.1343, allocations: 323.9 kB / 437.5 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.135, allocations: 156.6 kB / 437.6 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1322/0.2673, allocations: 0.9686 MB / 438.6 MB, free: 57.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.2674, allocations: 0.7839 MB / 439.4 MB, free: 57.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.2676, allocations: 34.83 kB / 439.4 MB, free: 57.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.03e-05/0.2677, allocations: 33.75 kB / 439.4 MB, free: 57.01 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2677, allocations: 0.5625 kB / 439.4 MB, free: 57.01 MB / 366.1 MB Notification: Performance of Templates: time 0.007284/0.275, allocations: 5.434 MB / 444.9 MB, free: 56.86 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (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)