Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001319, allocations: 176.4 kB / 16.12 MB, free: 5.691 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.361/1.361, allocations: 225.7 MB / 242.6 MB, free: 8.5 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.001105/0.001105, allocations: 95.86 kB / 293.8 MB, free: 9.516 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.07262/0.07262, allocations: 8.099 MB / 353 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003252, allocations: 12 kB / 416.2 MB, free: 56.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 52.52 MB / 468.7 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.001857/0.1026, allocations: 1.632 MB / 470.4 MB, free: 1.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1047, allocations: 2.411 MB / 472.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1048, allocations: 4 kB / 472.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.1052, allocations: 123.5 kB / 472.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.1058, allocations: 280.2 kB / 473.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.1084, allocations: 2.643 MB / 475.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.1089, allocations: 366.5 kB / 476.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.1091, allocations: 79.84 kB / 476.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.1093, allocations: 147.5 kB / 476.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.1096, allocations: 183.2 kB / 476.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.1096, allocations: 20 kB / 476.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.1101, allocations: 267.7 kB / 476.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-05/0.1102, allocations: 71.72 kB / 476.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.1104, allocations: 188.8 kB / 477.1 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.111, allocations: 0.5296 MB / 477.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.111, allocations: 0 / 477.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.111, allocations: 3.938 kB / 477.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.111, allocations: 0 / 477.6 MB, free: 10.04 MB / 314.7 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.003567/0.1146, allocations: 1.076 MB / 478.7 MB, free: 8.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1147, allocations: 12.03 kB / 478.7 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.1148, allocations: 40.56 kB / 478.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1151, allocations: 295.7 kB / 479.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.1154, allocations: 104.5 kB / 479.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.1154, allocations: 28.38 kB / 479.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.117, allocations: 0.7448 MB / 479.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1171, allocations: 7.938 kB / 479.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.1171, allocations: 12 kB / 480 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1171, allocations: 8 kB / 480 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1182, allocations: 469.4 kB / 480.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.1204, allocations: 1.545 MB / 482 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.122, allocations: 0.7271 MB / 482.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.1226, allocations: 330.5 kB / 483 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.1228, allocations: 93.25 kB / 483.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.1232, allocations: 267.3 kB / 483.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.477e-06/0.1232, allocations: 0 / 483.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.003563/0.1268, allocations: 1.245 MB / 484.6 MB, free: 2.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1269, allocations: 144.5 kB / 484.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1272, allocations: 231.9 kB / 485 MB, free: 2.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.1272, allocations: 37.7 kB / 485 MB, free: 2.238 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1274, allocations: 156.7 kB / 485.2 MB, free: 2.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.1275, allocations: 106.5 kB / 485.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.1275, allocations: 12 kB / 485.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1276, allocations: 334.8 kB / 485.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.128, allocations: 205 kB / 485.8 MB, free: 1.426 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.1284, allocations: 332.5 kB / 486.1 MB, free: 1.051 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.1291, allocations: 0.5413 MB / 486.7 MB, free: 476 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1291, allocations: 0 / 486.7 MB, free: 476 kB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.2347/0.3638, allocations: 0.8039 MB / 487.5 MB, free: 26.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3639, allocations: 7.375 kB / 487.5 MB, free: 26.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.3639, allocations: 5.906 kB / 487.5 MB, free: 26.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/0.3663, allocations: 482.3 kB / 488 MB, free: 26.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.3668, allocations: 85.36 kB / 488.1 MB, free: 26.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.3683, allocations: 0.9019 MB / 489 MB, free: 26.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.3687, allocations: 51.61 kB / 489 MB, free: 26.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.3688, allocations: 21.61 kB / 489 MB, free: 26.13 MB / 314.7 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 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * 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.0002669/0.3691, allocations: 166.6 kB / 489.2 MB, free: 26.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007448/0.3698, allocations: 272.5 kB / 489.5 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.371, allocations: 0.5726 MB / 490 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.3711, allocations: 5.391 kB / 490 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3711, allocations: 1.188 kB / 490 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.3711, allocations: 4.047 kB / 490 MB, free: 25.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.3737, allocations: 1.394 MB / 491.4 MB, free: 25.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3737, allocations: 0 / 491.4 MB, free: 25.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.3741, allocations: 86.27 kB / 491.5 MB, free: 25.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.3762, allocations: 466.2 kB / 492 MB, free: 25.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.3763, allocations: 13.17 kB / 492 MB, free: 25.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.3776, allocations: 0.9105 MB / 492.9 MB, free: 24.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3776, allocations: 2.547 kB / 492.9 MB, free: 24.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.3801, allocations: 1.018 MB / 493.9 MB, free: 23.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/0.3802, allocations: 111.7 kB / 494 MB, free: 23.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.3803, allocations: 11.45 kB / 494 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.3807, allocations: 52.52 kB / 494.1 MB, free: 23.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.3808, allocations: 27.09 kB / 494.1 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.3808, allocations: 16.27 kB / 494.1 MB, free: 23.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001687/0.381, allocations: 171.4 kB / 494.3 MB, free: 23.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.381, allocations: 0 / 494.3 MB, free: 23.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005202/0.3815, allocations: 115.9 kB / 494.4 MB, free: 23.67 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: 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.0002451/0.3818, allocations: 140.8 kB / 494.5 MB, free: 23.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.3837, allocations: 0.6896 MB / 495.2 MB, free: 23.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3838, allocations: 192 / 495.2 MB, free: 23.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3848, allocations: 319.7 kB / 495.5 MB, free: 23.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.3856, allocations: 167.4 kB / 495.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.388, allocations: 0.9936 MB / 496.7 MB, free: 22.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3883, allocations: 0.7864 MB / 497.5 MB, free: 21.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00018/0.3885, allocations: 43 kB / 497.5 MB, free: 21.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.624e-05/0.3886, allocations: 33.22 kB / 497.6 MB, free: 21.92 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3886, allocations: 1 kB / 497.6 MB, free: 21.92 MB / 314.7 MB Notification: Performance of Templates: time 0.01081/0.3994, allocations: 5.376 MB / 0.4912 GB, free: 20.56 MB / 314.7 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)