Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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/HanserModelica 1.1.1/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) 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 HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/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(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009787/0.0009789, allocations: 175.1 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.04109/0.04109, allocations: 8.922 MB / 25.1 MB, free: 3.703 MB / 18.57 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.344/1.344, allocations: 225.7 MB / 253.7 MB, free: 5.199 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.0008165/0.0008166, allocations: 103.2 kB / 307 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8 kB / 370.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.306, allocations: 52.55 MB / 422.8 MB, free: 47.86 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.0128/0.3188, allocations: 11.62 MB / 434.5 MB, free: 39.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009921/0.3288, allocations: 5.397 MB / 439.9 MB, free: 34.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.3317, allocations: 81.59 kB / 439.9 MB, free: 34.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.3356, allocations: 0.8986 MB / 440.8 MB, free: 34.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.3407, allocations: 1.524 MB / 442.4 MB, free: 33.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.3432, allocations: 1.161 MB / 443.5 MB, free: 32.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006407/0.3496, allocations: 4.342 MB / 447.9 MB, free: 29.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/0.353, allocations: 2.898 MB / 450.8 MB, free: 27.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.3552, allocations: 1.338 MB / 452.1 MB, free: 26.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.357, allocations: 1.684 MB / 453.8 MB, free: 24.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003364/0.3573, allocations: 212 kB / 454 MB, free: 24.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3584, allocations: 423.7 kB / 454.4 MB, free: 23.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004748/0.3589, allocations: 0.7626 MB / 455.2 MB, free: 23.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.3603, allocations: 1.79 MB / 457 MB, free: 21.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004193/0.3645, allocations: 6.451 MB / 463.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3645, allocations: 4 kB / 463.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3645, allocations: 4 kB / 463.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001244/0.3647, allocations: 0 / 463.4 MB, free: 14.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.007482/0.3722, allocations: 3.756 MB / 467.2 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3722, allocations: 8.031 kB / 467.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/0.376, allocations: 0.828 MB / 468 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004639/0.3807, allocations: 2.368 MB / 470.4 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.3809, allocations: 251.1 kB / 470.6 MB, free: 7.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005725/0.3815, allocations: 340.1 kB / 470.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/0.3881, allocations: 4.484 MB / 475.4 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.063e-05/0.3882, allocations: 11.84 kB / 475.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002677/0.3885, allocations: 136 kB / 475.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.3886, allocations: 158.7 kB / 475.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006099/0.3947, allocations: 3.802 MB / 479.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/0.4166, allocations: 14.26 MB / 493.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005963/0.4226, allocations: 6.141 MB / 499.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/0.4247, allocations: 1.217 MB / 0.4894 GB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005553/0.4302, allocations: 3.325 MB / 0.4927 GB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.4303, allocations: 47.56 kB / 0.4927 GB, free: 4.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 2.755e-06/0.4303, allocations: 0 / 0.4927 GB, free: 4.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=118): time 0.009943/0.4403, allocations: 5.281 MB / 0.4979 GB, free: 14.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.4404, allocations: 64.41 kB / 0.4979 GB, free: 14.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/0.4428, allocations: 1.671 MB / 0.4996 GB, free: 12.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.463e-05/0.4429, allocations: 45.7 kB / 0.4996 GB, free: 12.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.4439, allocations: 1.492 MB / 0.5011 GB, free: 11.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.4443, allocations: 414 kB / 0.5014 GB, free: 11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.4444, allocations: 32 kB / 0.5015 GB, free: 10.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4445, allocations: 373.9 kB / 0.5018 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.4456, allocations: 0.6246 MB / 0.5024 GB, free: 9.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.4469, allocations: 1.139 MB / 0.5036 GB, free: 8.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.4494, allocations: 1.873 MB / 0.5054 GB, free: 6.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.4494, allocations: 11.88 kB / 0.5054 GB, free: 6.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003468/0.4529, allocations: 2.201 MB / 0.5075 GB, free: 4.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.453, allocations: 12.38 kB / 0.5076 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.453, allocations: 20 kB / 0.5076 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.4534, allocations: 130.5 kB / 0.5077 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.4549, allocations: 399.4 kB / 0.5081 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.4574, allocations: 3.091 MB / 0.5111 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.4587, allocations: 71.91 kB / 0.5112 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.4589, allocations: 71.98 kB / 0.5112 GB, free: 208 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002011/0.4609, allocations: 1.044 MB / 0.5123 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004633/0.4613, allocations: 177.8 kB / 0.5124 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.4651, allocations: 2.068 MB / 0.5144 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.4651, allocations: 12 kB / 0.5145 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.4651, allocations: 4 kB / 0.5145 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.4651, allocations: 7.969 kB / 0.5145 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007423/0.4726, allocations: 4.794 MB / 0.5191 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.4726, allocations: 4 kB / 0.5192 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/0.4734, allocations: 167.8 kB / 0.5193 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.4745, allocations: 440.1 kB / 0.5197 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.212e-05/0.4746, allocations: 35.98 kB / 0.5198 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009658/0.4843, allocations: 10.11 MB / 0.5296 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4843, allocations: 0 / 0.5296 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005005/0.4893, allocations: 2.881 MB / 0.5325 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.4904, allocations: 390.8 kB / 0.5328 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.4906, allocations: 28 kB / 0.5329 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.4914, allocations: 67.95 kB / 0.5329 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.4918, allocations: 108.7 kB / 0.533 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.4919, allocations: 36.17 kB / 0.5331 GB, free: 8.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001797/0.4937, allocations: 1.139 MB / 0.5342 GB, free: 7.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4937, allocations: 3.938 kB / 0.5342 GB, free: 7.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002058/0.4957, allocations: 0.5391 MB / 0.5347 GB, free: 7.172 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/0.4961, allocations: 163.9 kB / 0.5349 GB, free: 7.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.499, allocations: 1.844 MB / 0.5367 GB, free: 5.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4991, allocations: 0 / 0.5367 GB, free: 5.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.5013, allocations: 1.49 MB / 0.5381 GB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.5037, allocations: 0.5082 MB / 0.5386 GB, free: 3.055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5138, allocations: 7.241 MB / 0.5457 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.5158, allocations: 2.362 MB / 0.548 GB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001484/0.5173, allocations: 384.1 kB / 0.5484 GB, free: 8.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.5176, allocations: 119.4 kB / 0.5485 GB, free: 8.879 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5176, allocations: 0 / 0.5485 GB, free: 8.879 MB / 426.7 MB Notification: Performance of Templates: time 0.2814/0.799, allocations: 26.33 MB / 0.5742 GB, free: 117.7 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1)