Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/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(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.455/1.455, allocations: 225.7 MB / 241.9 MB, free: 14.65 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.0008216/0.0008216, allocations: 97.03 kB / 293 MB, free: 4.816 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1675/0.1675, allocations: 43.18 MB / 387.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 8 kB / 458.6 MB, free: 73.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 60.51 MB / 0.5069 GB, free: 13.22 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test): time 0.003711/0.1107, allocations: 4.603 MB / 0.5114 GB, free: 8.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1137, allocations: 2.108 MB / 0.5135 GB, free: 6.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/0.1143, allocations: 12 kB / 0.5135 GB, free: 6.344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.1147, allocations: 143.1 kB / 0.5136 GB, free: 6.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.116, allocations: 0.834 MB / 0.5144 GB, free: 5.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.117, allocations: 0.6615 MB / 0.5151 GB, free: 4.594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008559/0.1179, allocations: 1.066 MB / 0.5161 GB, free: 3.523 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.1182, allocations: 199.9 kB / 0.5163 GB, free: 3.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004103/0.1186, allocations: 434 kB / 0.5167 GB, free: 2.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.119, allocations: 0.5405 MB / 0.5173 GB, free: 2.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.191e-05/0.1191, allocations: 44 kB / 0.5173 GB, free: 2.301 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.1195, allocations: 171.8 kB / 0.5175 GB, free: 2.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1196, allocations: 191 kB / 0.5177 GB, free: 1.945 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.1199, allocations: 455 kB / 0.5181 GB, free: 1.492 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.1207, allocations: 1.152 MB / 0.5192 GB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1207, allocations: 0 / 0.5192 GB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1207, allocations: 0 / 0.5192 GB, free: 344 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1207, allocations: 0 / 0.5192 GB, free: 344 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006869/0.1276, allocations: 2.124 MB / 0.5213 GB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1277, allocations: 8.031 kB / 0.5213 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.1322, allocations: 0.7448 MB / 0.522 GB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.1334, allocations: 0.6274 MB / 0.5226 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/0.1337, allocations: 251.5 kB / 0.5229 GB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.1338, allocations: 60 kB / 0.5229 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.1359, allocations: 1.049 MB / 0.524 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.136, allocations: 7.922 kB / 0.524 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.1361, allocations: 27.98 kB / 0.524 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.1361, allocations: 16 kB / 0.524 GB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.1383, allocations: 1.032 MB / 0.525 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.1433, allocations: 2.539 MB / 0.5275 GB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.1461, allocations: 1.114 MB / 0.5286 GB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.1476, allocations: 0.7802 MB / 0.5293 GB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1477, allocations: 20.64 kB / 0.5294 GB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1477, allocations: 39.22 kB / 0.5294 GB, free: 5.676 MB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 3.226e-06/0.1477, allocations: 0 / 0.5294 GB, free: 5.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=80): time 0.02986/0.1776, allocations: 8.733 MB / 0.5379 GB, free: 12.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.1777, allocations: 60.06 kB / 0.538 GB, free: 12.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.1789, allocations: 0.6606 MB / 0.5386 GB, free: 12.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.1791, allocations: 37.7 kB / 0.5387 GB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.1794, allocations: 344.8 kB / 0.539 GB, free: 11.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005075/0.18, allocations: 303.7 kB / 0.5393 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1801, allocations: 20 kB / 0.5393 GB, free: 11.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.1804, allocations: 394.7 kB / 0.5397 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.1821, allocations: 0.7359 MB / 0.5404 GB, free: 10.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.1836, allocations: 0.7545 MB / 0.5411 GB, free: 9.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0187/0.2024, allocations: 5.032 MB / 0.546 GB, free: 4.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.2024, allocations: 0 / 0.546 GB, free: 4.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.2363/0.4387, allocations: 5.091 MB / 0.551 GB, free: 45.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.4388, allocations: 4.75 kB / 0.551 GB, free: 45.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.4388, allocations: 1.172 kB / 0.551 GB, free: 45.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007627/0.4464, allocations: 2.208 MB / 0.5532 GB, free: 45.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.4474, allocations: 156.4 kB / 0.5533 GB, free: 45.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02562/0.4731, allocations: 10.22 MB / 0.5633 GB, free: 42.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.4747, allocations: 188 kB / 0.5635 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.4749, allocations: 36.36 kB / 0.5635 GB, free: 42.05 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: gen.e1q:VARIABLE(start = gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (87): * Single equations (assignments): 86 * 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 {(25,15)} Notification: Performance of prepare postOptimizeDAE: time 0.000576/0.4755, allocations: 217.4 kB / 0.5637 GB, free: 41.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.4758, allocations: 84.83 kB / 0.5638 GB, free: 41.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.4903, allocations: 4.91 MB / 0.5686 GB, free: 40.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.4904, allocations: 7.938 kB / 0.5686 GB, free: 40.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4904, allocations: 0 / 0.5686 GB, free: 40.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.4904, allocations: 3.609 kB / 0.5686 GB, free: 40.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.492, allocations: 1.062 MB / 0.5697 GB, free: 40.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.492, allocations: 0 / 0.5697 GB, free: 40.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.4926, allocations: 77.23 kB / 0.5697 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006059/0.4986, allocations: 2.161 MB / 0.5718 GB, free: 39.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.4988, allocations: 23.92 kB / 0.5719 GB, free: 39.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01772/0.5166, allocations: 8.806 MB / 0.5805 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5166, allocations: 4 kB / 0.5805 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.5308, allocations: 5.854 MB / 0.5862 GB, free: 26.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.5311, allocations: 175.1 kB / 0.5863 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.5314, allocations: 16 kB / 0.5864 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.5325, allocations: 129.5 kB / 0.5865 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006597/0.5331, allocations: 192.3 kB / 0.5867 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.943e-05/0.5332, allocations: 20 kB / 0.5867 GB, free: 25.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005347/0.5338, allocations: 463 kB / 0.5871 GB, free: 25.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5338, allocations: 4 kB / 0.5871 GB, free: 25.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001371/0.5352, allocations: 395.5 kB / 0.5875 GB, free: 25.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (43): * Single equations (assignments): 42 * 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 {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002742/0.5355, allocations: 134.6 kB / 0.5876 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006168/0.5417, allocations: 2.607 MB / 0.5902 GB, free: 22.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5417, allocations: 0 / 0.5902 GB, free: 22.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004238/0.5459, allocations: 1.714 MB / 0.5919 GB, free: 20.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.5468, allocations: 63 kB / 0.5919 GB, free: 20.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.5504, allocations: 2.211 MB / 0.5941 GB, free: 18.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.5508, allocations: 0.9859 MB / 0.595 GB, free: 17.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.5511, allocations: 68.55 kB / 0.5951 GB, free: 17.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.5513, allocations: 39.44 kB / 0.5951 GB, free: 17.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5513, allocations: 0 / 0.5951 GB, free: 17.18 MB / 378.7 MB Notification: Performance of Templates: time 0.03028/0.5816, allocations: 20.37 MB / 0.615 GB, free: 12.8 MB / 394.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)