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.00128/0.00128, allocations: 104 kB / 16.45 MB, free: 6.449 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.001356/0.001356, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06273/0.06273, allocations: 8.111 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 414.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09715, allocations: 51.52 MB / 466 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001997/0.09919, allocations: 0.7709 MB / 466.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1008, allocations: 1.157 MB / 467.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.1008, allocations: 0 / 467.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.1009, allocations: 0 / 467.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1012, allocations: 23.86 kB / 467.9 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.1013, allocations: 27.95 kB / 467.9 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1015, allocations: 95.75 kB / 468 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1016, allocations: 11.98 kB / 468 MB, free: 92 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1018, allocations: 39.97 kB / 468.1 MB, free: 52 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1019, allocations: 47.81 kB / 468.1 MB, free: 4 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.102, allocations: 8.047 kB / 468.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.102, allocations: 8 kB / 468.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.1021, allocations: 31.86 kB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.1022, allocations: 39.84 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1023, allocations: 79.72 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1023, allocations: 0 / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1024, allocations: 4 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1024, allocations: 0 / 468.3 MB, free: 15.84 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.00106/0.1034, allocations: 439.3 kB / 468.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1035, allocations: 8.031 kB / 468.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.1036, allocations: 8.844 kB / 468.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1037, allocations: 180.2 kB / 468.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.1039, allocations: 54.25 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.104, allocations: 4.375 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1051, allocations: 428.5 kB / 469.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1051, allocations: 0 / 469.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1051, allocations: 0 / 469.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1051, allocations: 4 kB / 469.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.1057, allocations: 167.8 kB / 469.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1061, allocations: 381.7 kB / 469.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.107, allocations: 323.5 kB / 470.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.1073, allocations: 154.6 kB / 470.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1074, allocations: 12.16 kB / 470.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1074, allocations: 34.5 kB / 470.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.1074, allocations: 4 kB / 470.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00105/0.1085, allocations: 341.4 kB / 470.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.1086, allocations: 110.8 kB / 470.9 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.1086, allocations: 101.8 kB / 471 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1087, allocations: 33.77 kB / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.1087, allocations: 84.14 kB / 471.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1088, allocations: 11.91 kB / 471.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.1088, allocations: 25.7 kB / 471.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1089, allocations: 318.8 kB / 471.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.109, allocations: 19.98 kB / 471.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.1091, allocations: 107 kB / 471.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1092, allocations: 127 kB / 471.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1092, allocations: 4 kB / 471.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001757/0.1094, allocations: 133.2 kB / 471.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1094, allocations: 8 kB / 471.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1094, allocations: 4.406 kB / 471.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1094, allocations: 8.188 kB / 471.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.1095, allocations: 31.92 kB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1096, allocations: 4 kB / 471.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.1096, allocations: 7.938 kB / 471.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1096, allocations: 15.97 kB / 471.9 MB, free: 11.86 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 8.821e-05/0.1097, allocations: 129.7 kB / 472 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006065/0.1103, allocations: 229.5 kB / 472.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1104, allocations: 53.66 kB / 472.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1105, allocations: 8.031 kB / 472.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1105, allocations: 0 / 472.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1105, allocations: 3.938 kB / 472.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1107, allocations: 193.4 kB / 472.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1107, allocations: 3.938 kB / 472.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.1109, allocations: 47.95 kB / 472.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.111, allocations: 4 kB / 472.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.111, allocations: 8 kB / 472.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.111, allocations: 0 / 472.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.111, allocations: 0 / 472.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006903/0.1117, allocations: 423.4 kB / 473 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1117, allocations: 92.95 kB / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1118, allocations: 4 kB / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.112, allocations: 27.97 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.112, allocations: 4 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.112, allocations: 4 kB / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.639e-05/0.1121, allocations: 87.2 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1121, allocations: 4 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1124, allocations: 16 kB / 473.2 MB, free: 10.43 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 9.318e-05/0.1125, allocations: 99.19 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.1129, allocations: 151.7 kB / 473.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1129, allocations: 0.8125 kB / 473.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.1129, allocations: 8 kB / 473.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.1135, allocations: 136.8 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.115, allocations: 400.5 kB / 474 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1154, allocations: 0.7002 MB / 474.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.823e-05/0.1154, allocations: 8.438 kB / 474.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.1155, allocations: 19.42 kB / 474.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1155, allocations: 3.938 kB / 474.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Templates: time 0.003198/0.1187, allocations: 1.013 MB / 475.8 MB, free: 7.836 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)