Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.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.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 101.3 kB / 16.45 MB, free: 6.438 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.001403/0.001403, allocations: 189.4 kB / 17.38 MB, free: 5.688 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04624/0.04624, allocations: 8.098 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.89 kB / 414.5 MB, free: 21.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1158, allocations: 51.51 MB / 466 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001937/0.1178, allocations: 0.7709 MB / 466.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1192, allocations: 1.157 MB / 467.9 MB, free: 288 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.1193, allocations: 3.938 kB / 467.9 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.1193, allocations: 0 / 467.9 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.1196, allocations: 19.86 kB / 467.9 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.1197, allocations: 31.95 kB / 467.9 MB, free: 232 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1199, allocations: 95.75 kB / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.12, allocations: 4 kB / 468 MB, free: 132 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1201, allocations: 39.97 kB / 468.1 MB, free: 92 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1203, allocations: 51.81 kB / 468.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.1203, allocations: 8 kB / 468.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.373e-05/0.1204, allocations: 8 kB / 468.1 MB, free: 24 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.437e-05/0.1204, allocations: 31.98 kB / 468.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.1205, allocations: 43.77 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1207, allocations: 75.72 kB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1207, allocations: 0 / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1207, allocations: 0 / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1207, allocations: 0 / 468.3 MB, free: 15.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001074/0.1218, allocations: 447.1 kB / 468.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1218, allocations: 8.031 kB / 468.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.1219, allocations: 8.891 kB / 468.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.122, allocations: 176.2 kB / 468.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.1222, allocations: 62.23 kB / 469 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1223, allocations: 8.375 kB / 469 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.1234, allocations: 417.4 kB / 469.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1234, allocations: 4 kB / 469.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.1235, allocations: 4 kB / 469.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1235, allocations: 4 kB / 469.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.1241, allocations: 163.8 kB / 469.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.1245, allocations: 373.8 kB / 469.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/0.1255, allocations: 335.4 kB / 470.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.1258, allocations: 154.6 kB / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1259, allocations: 4.219 kB / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1259, allocations: 38.5 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1259, allocations: 4 kB / 470.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001148/0.1271, allocations: 345.5 kB / 470.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.1272, allocations: 110.8 kB / 470.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.1273, allocations: 97.84 kB / 471 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1273, allocations: 33.7 kB / 471 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.1274, allocations: 80.14 kB / 471.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1274, allocations: 15.94 kB / 471.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1274, allocations: 25.72 kB / 471.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1276, allocations: 326.8 kB / 471.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.1276, allocations: 19.98 kB / 471.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.1277, allocations: 99.03 kB / 471.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1278, allocations: 127 kB / 471.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1278, allocations: 7.984 kB / 471.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001677/0.128, allocations: 133.4 kB / 471.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.128, allocations: 8 kB / 471.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.128, allocations: 7.984 kB / 471.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1281, allocations: 4 kB / 471.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1282, allocations: 27.98 kB / 471.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1282, allocations: 7.938 kB / 471.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.1282, allocations: 8 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1283, allocations: 4.344 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.1284, allocations: 141.6 kB / 472 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006605/0.129, allocations: 229.5 kB / 472.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.1292, allocations: 53.66 kB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1292, allocations: 4 kB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1292, allocations: 0 / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1292, allocations: 0 / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.1294, allocations: 189.5 kB / 472.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1294, allocations: 3.938 kB / 472.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.1297, allocations: 55.94 kB / 472.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1297, allocations: 0 / 472.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1297, allocations: 3.984 kB / 472.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1297, allocations: 7.938 kB / 472.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1297, allocations: 0 / 472.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.1305, allocations: 431.4 kB / 473 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1305, allocations: 89 kB / 473.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1306, allocations: 11.98 kB / 473.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.1308, allocations: 19.98 kB / 473.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.1308, allocations: 4 kB / 473.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1308, allocations: 4 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.1309, allocations: 87.27 kB / 473.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1309, allocations: 0 / 473.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1312, allocations: 16 kB / 473.2 MB, free: 10.45 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001009/0.1313, allocations: 91.25 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.1317, allocations: 163.8 kB / 473.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1317, allocations: 0 / 473.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.1318, allocations: 7.984 kB / 473.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.1324, allocations: 133.4 kB / 473.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.1341, allocations: 396.5 kB / 474 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1344, allocations: 0.7002 MB / 474.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.185e-05/0.1345, allocations: 8.75 kB / 474.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.1345, allocations: 15.44 kB / 474.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1345, allocations: 0 / 474.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of Templates: time 0.003622/0.1381, allocations: 1.032 MB / 475.8 MB, free: 7.855 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Tests.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)