Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.9 MB / 211.7 MB, free: 2.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 11.98 kB / 264.6 MB, free: 12.88 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.09908, allocations: 44.49 MB / 309.1 MB, free: 320 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5083/0.6074, allocations: 145.1 MB / 454.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004012/0.6079, allocations: 108.7 kB / 454.3 MB, free: 10.21 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 1.705/2.313, allocations: 358.1 MB / 0.7933 GB, free: 50.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.346e-06/2.313, allocations: 0 / 0.7933 GB, free: 50.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001033/2.314, allocations: 258.5 kB / 0.7936 GB, free: 49.97 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.05277/2.367, allocations: 11.18 MB / 0.8045 GB, free: 43.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/2.367, allocations: 8.031 kB / 0.8045 GB, free: 43.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0461/2.413, allocations: 5.431 MB / 0.8098 GB, free: 39.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03162/2.445, allocations: 9.487 MB / 0.8191 GB, free: 30.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/2.446, allocations: 0.8083 MB / 0.8199 GB, free: 29.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005178/2.451, allocations: 1.066 MB / 0.8209 GB, free: 28.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05891/2.51, allocations: 18.13 MB / 0.8386 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005674/2.511, allocations: 27.75 kB / 0.8386 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004751/2.516, allocations: 464 kB / 0.8391 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001405/2.517, allocations: 0.7446 MB / 0.8398 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4115/2.929, allocations: 16.83 MB / 0.8562 GB, free: 45.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1914/3.12, allocations: 58.12 MB / 0.913 GB, free: 32.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03755/3.158, allocations: 26.17 MB / 0.9386 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06582/3.224, allocations: 22.55 MB / 0.9606 GB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01958/3.243, allocations: 5.753 MB / 0.9662 GB, free: 15.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=706): time 1.495e-05/3.243, allocations: 3.875 kB / 0.9662 GB, free: 15.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=724): time 0.1692/3.413, allocations: 43.78 MB / 1.009 GB, free: 4.262 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002895/3.413, allocations: 424.9 kB / 1.009 GB, free: 3.758 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/3.424, allocations: 3.932 MB / 1.013 GB, free: 416 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001646/3.426, allocations: 133.7 kB / 1.013 GB, free: 276 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3753/3.801, allocations: 4.298 MB / 1.018 GB, free: 77.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003753/3.805, allocations: 2.421 MB / 1.02 GB, free: 76.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/3.806, allocations: 136.3 kB / 1.02 GB, free: 76.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007488/3.807, allocations: 0.5976 MB / 1.021 GB, free: 75.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01369/3.821, allocations: 4.498 MB / 1.025 GB, free: 75.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01573/3.837, allocations: 6.216 MB / 1.031 GB, free: 74.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/3.853, allocations: 5.552 MB / 1.036 GB, free: 74.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.559e-05/3.853, allocations: 10.75 kB / 1.036 GB, free: 74.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=952) (initialization): time 0.04082/3.894, allocations: 13.69 MB / 1.05 GB, free: 73.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/3.894, allocations: 57.38 kB / 1.05 GB, free: 73.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/3.894, allocations: 51.02 kB / 1.05 GB, free: 73.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01348/3.907, allocations: 3.863 MB / 1.054 GB, free: 73.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/3.918, allocations: 1.324 MB / 1.055 GB, free: 73.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0272/3.945, allocations: 16.76 MB / 1.071 GB, free: 65.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0121/3.957, allocations: 378.5 kB / 1.072 GB, free: 65.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01016/3.967, allocations: 305.9 kB / 1.072 GB, free: 65.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 200 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 651 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of prepare postOptimizeDAE: time 0.0236/3.991, allocations: 3.943 MB / 1.076 GB, free: 64.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0117/4.003, allocations: 0.5487 MB / 1.076 GB, free: 64.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05623/4.059, allocations: 13.62 MB / 1.09 GB, free: 58.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002395/4.059, allocations: 160.7 kB / 1.09 GB, free: 58.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.227e-05/4.059, allocations: 10.22 kB / 1.09 GB, free: 58.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001704/4.06, allocations: 30.52 kB / 1.09 GB, free: 58.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07411/4.134, allocations: 27.09 MB / 1.116 GB, free: 45.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.616e-05/4.134, allocations: 2.156 kB / 1.116 GB, free: 45.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008076/4.142, allocations: 0.9003 MB / 1.117 GB, free: 45.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01375/4.156, allocations: 3.998 MB / 1.121 GB, free: 44.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001713/4.157, allocations: 161.8 kB / 1.121 GB, free: 44.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0293/4.187, allocations: 21.01 MB / 1.142 GB, free: 26.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/4.187, allocations: 7.094 kB / 1.142 GB, free: 26.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04938/4.236, allocations: 19.86 MB / 1.161 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006107/4.242, allocations: 1.665 MB / 1.163 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00273/4.245, allocations: 116 kB / 1.163 GB, free: 7.625 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006835/4.252, allocations: 304 kB / 1.163 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002387/4.254, allocations: 0.5213 MB / 1.164 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009523/4.255, allocations: 194.9 kB / 1.164 GB, free: 6.895 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006346/4.262, allocations: 2.669 MB / 1.167 GB, free: 4.645 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.623e-06/4.262, allocations: 0 / 1.167 GB, free: 4.645 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01163/4.273, allocations: 2.033 MB / 1.169 GB, free: 2.629 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (486): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 3,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.003383/4.277, allocations: 0.8561 MB / 1.169 GB, free: 2.066 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04451/4.321, allocations: 12.53 MB / 1.182 GB, free: 9.027 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/4.321, allocations: 4.062 kB / 1.182 GB, free: 9.023 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3696/4.691, allocations: 7.453 MB / 1.189 GB, free: 87.31 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01111/4.702, allocations: 1.2 MB / 1.19 GB, free: 87.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07195/4.774, allocations: 27.31 MB / 1.217 GB, free: 77.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01601/4.79, allocations: 7.185 MB / 1.224 GB, free: 76.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01109/4.801, allocations: 1.666 MB / 1.225 GB, free: 76.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003138/4.805, allocations: 401.8 kB / 1.226 GB, free: 76.49 MB / 474.7 MB Notification: Performance of SimCode: time 1.472e-06/4.805, allocations: 0 / 1.226 GB, free: 76.49 MB / 474.7 MB Notification: Performance of Templates: time 0.2996/5.104, allocations: 122.5 MB / 1.345 GB, free: 12 MB / 474.7 MB