Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 181.5 kB / 16.13 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.7 MB / 242.6 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009397, allocations: 96.42 kB / 293.8 MB, free: 9.473 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0618/0.0618, allocations: 8.105 MB / 353 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004615, allocations: 8 kB / 416.2 MB, free: 56.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 52.52 MB / 468.7 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.00108/0.1273, allocations: 497.6 kB / 469.2 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1288, allocations: 1.12 MB / 470.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.1288, allocations: 3.938 kB / 470.3 MB, free: 1.934 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.1289, allocations: 3.938 kB / 470.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1291, allocations: 15.92 kB / 470.3 MB, free: 1.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1293, allocations: 23.97 kB / 470.4 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1295, allocations: 99.73 kB / 470.5 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1296, allocations: 12 kB / 470.5 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1298, allocations: 35.89 kB / 470.5 MB, free: 1.746 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.13, allocations: 39.95 kB / 470.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.13, allocations: 4 kB / 470.6 MB, free: 1.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.702e-05/0.1301, allocations: 7.938 kB / 470.6 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.1302, allocations: 19.97 kB / 470.6 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.11e-05/0.1303, allocations: 69.48 kB / 470.7 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1304, allocations: 87.97 kB / 470.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1305, allocations: 0 / 470.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1305, allocations: 0 / 470.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1305, allocations: 0 / 470.7 MB, free: 1.516 MB / 298.7 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.001146/0.1316, allocations: 451.2 kB / 471.2 MB, free: 1.027 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1317, allocations: 8.031 kB / 471.2 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.1318, allocations: 8.844 kB / 471.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1319, allocations: 172.2 kB / 471.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.1321, allocations: 66.23 kB / 471.4 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1322, allocations: 4.375 kB / 471.4 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.1337, allocations: 445.5 kB / 471.9 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1337, allocations: 0 / 471.9 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1338, allocations: 0 / 471.9 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1338, allocations: 4 kB / 471.9 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.1346, allocations: 179.9 kB / 472 MB, free: 96 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.1352, allocations: 377.7 kB / 472.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.1366, allocations: 347.6 kB / 472.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.1372, allocations: 162.6 kB / 472.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1373, allocations: 3.938 kB / 472.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/0.1373, allocations: 34.56 kB / 473 MB, free: 15.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1374, allocations: 0 / 473 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001613/0.139, allocations: 361.7 kB / 473.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1391, allocations: 118.7 kB / 473.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1392, allocations: 101.8 kB / 473.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1393, allocations: 33.64 kB / 473.6 MB, free: 14.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.1393, allocations: 84.14 kB / 473.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.1394, allocations: 16.03 kB / 473.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.1394, allocations: 8.062 kB / 473.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1396, allocations: 322.8 kB / 474 MB, free: 14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.1396, allocations: 16 kB / 474 MB, free: 13.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1398, allocations: 99.14 kB / 474.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.14, allocations: 127 kB / 474.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.14, allocations: 0 / 474.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002874/0.1403, allocations: 137.3 kB / 474.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1403, allocations: 4 kB / 474.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1403, allocations: 4 kB / 474.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1404, allocations: 4 kB / 474.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1405, allocations: 27.92 kB / 474.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1405, allocations: 4.406 kB / 474.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1407, allocations: 15.98 kB / 474.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.1407, allocations: 8 kB / 474.4 MB, free: 13.48 MB / 314.7 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 0.0001231/0.1408, allocations: 133.7 kB / 474.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/0.1419, allocations: 245.8 kB / 474.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.142, allocations: 57.59 kB / 474.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1421, allocations: 8.031 kB / 474.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1421, allocations: 0 / 474.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1421, allocations: 0 / 474.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.1425, allocations: 185.5 kB / 475 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1425, allocations: 3.984 kB / 475 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.1428, allocations: 51.91 kB / 475.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.1429, allocations: 8.188 kB / 475.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1429, allocations: 4 kB / 475.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.1429, allocations: 0 / 475.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.1429, allocations: 4 kB / 475.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.144, allocations: 459.3 kB / 475.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.1441, allocations: 85.05 kB / 475.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1441, allocations: 0 / 475.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.1445, allocations: 35.97 kB / 475.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1445, allocations: 0 / 475.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1446, allocations: 4 kB / 475.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.021e-05/0.1446, allocations: 91.2 kB / 475.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1447, allocations: 0 / 475.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.1452, allocations: 20 kB / 475.8 MB, free: 12 MB / 314.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: 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.0001429/0.1453, allocations: 95.78 kB / 475.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.146, allocations: 163.7 kB / 476 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.146, allocations: 0 / 476 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.146, allocations: 15.81 kB / 476 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.1471, allocations: 140.9 kB / 476.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.1493, allocations: 426.5 kB / 476.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1496, allocations: 0.7005 MB / 477.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.1497, allocations: 12.42 kB / 477.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.1498, allocations: 11.44 kB / 477.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1498, allocations: 0 / 477.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Templates: time 0.004102/0.1539, allocations: 0.9278 MB / 478.3 MB, free: 9.453 MB / 314.7 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)