Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009128/0.0009127, allocations: 175 kB / 15.42 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.0405/0.0405, allocations: 8.924 MB / 25.1 MB, free: 3.617 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.391/1.391, allocations: 225.7 MB / 253.7 MB, free: 5.191 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.0007693/0.0007695, allocations: 97.67 kB / 307 MB, free: 2.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003461, allocations: 8 kB / 370.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3053, allocations: 52.55 MB / 422.8 MB, free: 47.95 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01277/0.3182, allocations: 11.6 MB / 434.4 MB, free: 39.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00888/0.3271, allocations: 5.406 MB / 439.8 MB, free: 35.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.3295, allocations: 78 kB / 439.9 MB, free: 35.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.3322, allocations: 0.905 MB / 440.8 MB, free: 34.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.3363, allocations: 1.529 MB / 442.4 MB, free: 33.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.3383, allocations: 1.151 MB / 443.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005355/0.3437, allocations: 4.338 MB / 447.8 MB, free: 30 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.3467, allocations: 2.9 MB / 450.7 MB, free: 27.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.3486, allocations: 1.338 MB / 452.1 MB, free: 26.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.35, allocations: 1.688 MB / 453.8 MB, free: 24.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.3503, allocations: 216 kB / 454 MB, free: 24.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3514, allocations: 415.7 kB / 454.4 MB, free: 23.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005598/0.352, allocations: 0.7744 MB / 455.2 MB, free: 23.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.3537, allocations: 1.786 MB / 456.9 MB, free: 21.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.3584, allocations: 6.451 MB / 463.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3584, allocations: 0 / 463.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3584, allocations: 4 kB / 463.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001366/0.3585, allocations: 0 / 463.4 MB, free: 14.81 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.008133/0.3667, allocations: 3.756 MB / 467.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3667, allocations: 8.031 kB / 467.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/0.3708, allocations: 0.8319 MB / 468 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.3745, allocations: 2.368 MB / 470.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.3746, allocations: 247.1 kB / 470.6 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/0.3751, allocations: 344.1 kB / 470.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006943/0.3821, allocations: 4.484 MB / 475.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/0.3821, allocations: 3.906 kB / 475.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.3824, allocations: 136 kB / 475.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.3825, allocations: 158.7 kB / 475.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006063/0.3886, allocations: 3.802 MB / 479.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.4088, allocations: 14.26 MB / 493.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/0.4145, allocations: 6.137 MB / 499.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.4164, allocations: 1.213 MB / 0.4894 GB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00538/0.4218, allocations: 3.333 MB / 0.4926 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.4219, allocations: 47.56 kB / 0.4927 GB, free: 4.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=115): time 2.464e-06/0.4219, allocations: 0 / 0.4927 GB, free: 4.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=118): time 0.01017/0.4321, allocations: 5.285 MB / 0.4978 GB, free: 14.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4321, allocations: 64.41 kB / 0.4979 GB, free: 14.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.4346, allocations: 1.671 MB / 0.4995 GB, free: 12.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/0.4347, allocations: 45.7 kB / 0.4996 GB, free: 12.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.4359, allocations: 1.488 MB / 0.501 GB, free: 11.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/0.4363, allocations: 422 kB / 0.5014 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.4364, allocations: 32 kB / 0.5015 GB, free: 10.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4366, allocations: 369.9 kB / 0.5018 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.4376, allocations: 0.6247 MB / 0.5024 GB, free: 9.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.4389, allocations: 1.135 MB / 0.5035 GB, free: 8.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.4413, allocations: 1.88 MB / 0.5054 GB, free: 6.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.4414, allocations: 7.938 kB / 0.5054 GB, free: 6.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003515/0.4449, allocations: 2.197 MB / 0.5075 GB, free: 4.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.4449, allocations: 12 kB / 0.5075 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.445, allocations: 16 kB / 0.5076 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003818/0.4453, allocations: 134.9 kB / 0.5077 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.4468, allocations: 407.4 kB / 0.5081 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.4492, allocations: 3.091 MB / 0.5111 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.4506, allocations: 71.95 kB / 0.5112 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4507, allocations: 68 kB / 0.5112 GB, free: 200 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.002259/0.453, allocations: 1.04 MB / 0.5122 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.4535, allocations: 177.8 kB / 0.5124 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.4572, allocations: 2.064 MB / 0.5144 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.4572, allocations: 19.98 kB / 0.5144 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4573, allocations: 4 kB / 0.5144 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4573, allocations: 3.984 kB / 0.5144 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008449/0.4657, allocations: 4.794 MB / 0.5191 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.4658, allocations: 8.125 kB / 0.5191 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.4665, allocations: 163.8 kB / 0.5193 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.4677, allocations: 435.9 kB / 0.5197 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/0.4678, allocations: 39.98 kB / 0.5197 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009519/0.4774, allocations: 10.11 MB / 0.5296 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4774, allocations: 0 / 0.5296 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/0.482, allocations: 2.88 MB / 0.5324 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/0.483, allocations: 394.8 kB / 0.5328 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/0.4833, allocations: 28 kB / 0.5328 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000801/0.4841, allocations: 67.95 kB / 0.5329 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.4844, allocations: 100.7 kB / 0.533 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.4845, allocations: 39.98 kB / 0.533 GB, free: 8.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001681/0.4862, allocations: 1.139 MB / 0.5341 GB, free: 7.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4862, allocations: 0 / 0.5341 GB, free: 7.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001939/0.4881, allocations: 0.543 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.0003045/0.4885, allocations: 159.9 kB / 0.5348 GB, free: 7.008 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.4914, allocations: 1.841 MB / 0.5366 GB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4914, allocations: 4.375 kB / 0.5366 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.4936, allocations: 1.489 MB / 0.5381 GB, free: 3.566 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.4963, allocations: 0.5081 MB / 0.5386 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5069, allocations: 7.231 MB / 0.5456 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.509, allocations: 2.37 MB / 0.548 GB, free: 9.383 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001792/0.5108, allocations: 384.1 kB / 0.5483 GB, free: 9.004 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.5111, allocations: 123.4 kB / 0.5484 GB, free: 8.883 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5111, allocations: 0 / 0.5484 GB, free: 8.883 MB / 426.7 MB Notification: Performance of Templates: time 0.2828/0.7939, allocations: 26.31 MB / 0.5741 GB, free: 117.7 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1)