Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 180.8 kB / 15.43 MB, free: 5.77 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.04099/0.04099, allocations: 8.92 MB / 25.1 MB, free: 3.555 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.567/1.567, allocations: 225.7 MB / 253.7 MB, free: 5.207 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.0007611/0.000761, allocations: 102.4 kB / 307 MB, free: 2.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 11.98 kB / 370.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2987, allocations: 52.55 MB / 422.8 MB, free: 47.97 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.0126/0.3114, allocations: 12.02 MB / 434.9 MB, free: 39.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.322, allocations: 5.508 MB / 440.4 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003019/0.325, allocations: 75.44 kB / 440.4 MB, free: 34.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.3282, allocations: 0.8575 MB / 441.3 MB, free: 34.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.3329, allocations: 1.532 MB / 442.8 MB, free: 33.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.3351, allocations: 1.19 MB / 444 MB, free: 32.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005848/0.3409, allocations: 4.408 MB / 448.4 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.3438, allocations: 2.627 MB / 451.1 MB, free: 27.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.3459, allocations: 1.338 MB / 452.4 MB, free: 25.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.3474, allocations: 1.656 MB / 454 MB, free: 24.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.3478, allocations: 212 kB / 454.3 MB, free: 24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.349, allocations: 403.8 kB / 454.6 MB, free: 23.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000553/0.3496, allocations: 0.7392 MB / 455.4 MB, free: 22.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.3515, allocations: 1.774 MB / 457.2 MB, free: 21.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005273/0.3568, allocations: 6.24 MB / 463.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3568, allocations: 0 / 463.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3568, allocations: 0 / 463.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001294/0.357, 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.008088/0.3651, allocations: 3.72 MB / 467.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3651, allocations: 12.03 kB / 467.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/0.3689, allocations: 0.824 MB / 468 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.3723, allocations: 2.326 MB / 470.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.3725, allocations: 250.9 kB / 470.5 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004022/0.3729, allocations: 336 kB / 470.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006139/0.379, allocations: 4.295 MB / 475.2 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-05/0.3791, allocations: 4 kB / 475.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.3794, allocations: 136 kB / 475.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.3795, allocations: 146.5 kB / 475.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005187/0.3847, allocations: 3.582 MB / 479 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.4047, allocations: 13.92 MB / 492.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006385/0.4111, allocations: 6.612 MB / 499.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/0.4134, allocations: 1.402 MB / 0.4892 GB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006244/0.4197, allocations: 3.691 MB / 0.4928 GB, free: 4.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.4211, allocations: 0.943 MB / 0.4937 GB, free: 3.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=143): time 2.855e-06/0.4211, allocations: 0 / 0.4937 GB, free: 3.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=146): time 0.01123/0.4324, allocations: 6.004 MB / 0.4996 GB, free: 12.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.4325, allocations: 226.9 kB / 0.4998 GB, free: 12.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.4351, allocations: 1.773 MB / 0.5015 GB, free: 10.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.06e-05/0.4352, allocations: 61.62 kB / 0.5016 GB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.4365, allocations: 1.466 MB / 0.503 GB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004752/0.437, allocations: 0.4891 MB / 0.5035 GB, free: 8.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.4371, allocations: 44 kB / 0.5035 GB, free: 8.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.4373, allocations: 377.9 kB / 0.5039 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.4384, allocations: 0.6871 MB / 0.5046 GB, free: 7.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.44, allocations: 1.347 MB / 0.5059 GB, free: 6.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.4427, allocations: 2.106 MB / 0.508 GB, free: 3.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.4427, allocations: 4 kB / 0.508 GB, free: 3.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.003995/0.4467, allocations: 2.64 MB / 0.5105 GB, free: 1.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.4467, allocations: 12 kB / 0.5105 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.4468, allocations: 20 kB / 0.5106 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009399/0.4477, allocations: 376.3 kB / 0.5109 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.449, allocations: 391.4 kB / 0.5113 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/0.4559, allocations: 7.689 MB / 0.5188 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.4576, allocations: 99.95 kB / 0.5189 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.4577, allocations: 84.05 kB / 0.519 GB, free: 7.801 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsI[3].mean.y_last,rmsI[3].mean.y_last,$PRE.rmsI[2].mean.y_last,rmsI[2].mean.y_last,$PRE.rmsI[1].mean.y_last,rmsI[1].mean.y_last,idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001932/0.4596, allocations: 1.029 MB / 0.52 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.46, allocations: 201.5 kB / 0.5202 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.4638, allocations: 2.337 MB / 0.5225 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4638, allocations: 12.06 kB / 0.5225 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.4638, allocations: 12 kB / 0.5225 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.4638, allocations: 7.969 kB / 0.5225 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007727/0.4716, allocations: 5.134 MB / 0.5275 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4716, allocations: 0 / 0.5275 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.4724, allocations: 175.8 kB / 0.5277 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.4737, allocations: 0.5281 MB / 0.5282 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.4738, allocations: 39.98 kB / 0.5282 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.4855, allocations: 12.1 MB / 0.54 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4855, allocations: 3.938 kB / 0.5401 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/0.4906, allocations: 3.28 MB / 0.5433 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009108/0.4915, allocations: 434.5 kB / 0.5437 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.4918, allocations: 39.98 kB / 0.5437 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/0.4926, allocations: 67.95 kB / 0.5438 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.4929, allocations: 125 kB / 0.5439 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/0.493, allocations: 39.98 kB / 0.5439 GB, free: 13.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001777/0.4948, allocations: 1.2 MB / 0.5451 GB, free: 11.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4948, allocations: 0 / 0.5451 GB, free: 11.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002127/0.4969, allocations: 0.598 MB / 0.5457 GB, free: 11.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (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,quadraticLoadTorque.phi,cRun.v,cStart.v,rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control,idealOpener.control,rmsI[1].mean.y_last,rmsI[2].mean.y_last,rmsI[3].mean.y_last) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0003432/0.4973, allocations: 181.6 kB / 0.5459 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003498/0.5008, allocations: 2.408 MB / 0.5482 GB, free: 8.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5008, allocations: 0 / 0.5482 GB, free: 8.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.5032, allocations: 1.757 MB / 0.5499 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.5056, allocations: 0.5256 MB / 0.5504 GB, free: 6.289 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2161/0.7218, allocations: 7.467 MB / 0.5577 GB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/0.7245, allocations: 2.34 MB / 0.56 GB, free: 121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001811/0.7263, allocations: 416 kB / 0.5604 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.7266, allocations: 126.2 kB / 0.5605 GB, free: 120.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7266, allocations: 0 / 0.5605 GB, free: 120.9 MB / 426.7 MB Notification: Performance of Templates: time 0.05848/0.7851, allocations: 29.36 MB / 0.5892 GB, free: 105.5 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1)