Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003634, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09361, allocations: 44.49 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5508, allocations: 104.7 MB / 413.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5512, allocations: 90.14 kB / 413.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4578/1.009, allocations: 80.54 MB / 494.4 MB, free: 9.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.009, allocations: 4 kB / 494.4 MB, free: 9.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004823/1.01, allocations: 75.94 kB / 494.5 MB, free: 9.281 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.0229/1.032, allocations: 3.521 MB / 498 MB, free: 5.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.033, allocations: 8.031 kB / 498 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009897/1.042, allocations: 0.7412 MB / 498.7 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/1.062, allocations: 3.332 MB / 0.4903 GB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005862/1.062, allocations: 242.5 kB / 0.4905 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/1.064, allocations: 319.9 kB / 0.4908 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/1.086, allocations: 4.208 MB / 0.495 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002332/1.086, allocations: 7.891 kB / 0.495 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00145/1.088, allocations: 136 kB / 0.4951 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003296/1.088, allocations: 146.5 kB / 0.4952 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/1.106, allocations: 3.43 MB / 0.4986 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05653/1.162, allocations: 13.91 MB / 0.5122 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/1.176, allocations: 6.667 MB / 0.5187 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2816/1.458, allocations: 3.39 MB / 0.522 GB, free: 86.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/1.458, allocations: 53.97 kB / 0.522 GB, free: 86.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.759e-06/1.458, allocations: 2.969 kB / 0.522 GB, free: 86.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.02123/1.479, allocations: 6.463 MB / 0.5284 GB, free: 84.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.479, allocations: 67.69 kB / 0.5284 GB, free: 84.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/1.483, allocations: 1.721 MB / 0.5301 GB, free: 84.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003651/1.484, allocations: 52.39 kB / 0.5301 GB, free: 84.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.485, allocations: 1.406 MB / 0.5315 GB, free: 83.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007223/1.486, allocations: 0.5283 MB / 0.532 GB, free: 83.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/1.486, allocations: 35.66 kB / 0.5321 GB, free: 83.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/1.486, allocations: 376.2 kB / 0.5324 GB, free: 83.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/1.488, allocations: 0.7234 MB / 0.5331 GB, free: 83.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/1.492, allocations: 1.183 MB / 0.5343 GB, free: 82.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005182/1.497, allocations: 0.9372 MB / 0.5352 GB, free: 82.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.592e-05/1.497, allocations: 4.562 kB / 0.5352 GB, free: 82.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01484/1.512, allocations: 2.709 MB / 0.5379 GB, free: 82.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/1.512, allocations: 11.97 kB / 0.5379 GB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.368e-05/1.513, allocations: 14.31 kB / 0.5379 GB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/1.516, allocations: 452.1 kB / 0.5383 GB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/1.52, allocations: 374 kB / 0.5387 GB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/1.539, allocations: 9.808 MB / 0.5482 GB, free: 75.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/1.542, allocations: 81 kB / 0.5483 GB, free: 75.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/1.542, allocations: 73.53 kB / 0.5484 GB, free: 75.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 7,(2,100.0%) 8,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002731/1.545, allocations: 1.014 MB / 0.5494 GB, free: 75.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006622/1.546, allocations: 196 kB / 0.5496 GB, free: 75.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006859/1.552, allocations: 2.534 MB / 0.552 GB, free: 75.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.553, allocations: 16.2 kB / 0.5521 GB, free: 75.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.961e-05/1.553, allocations: 11.47 kB / 0.5521 GB, free: 75.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.984e-05/1.553, allocations: 9.609 kB / 0.5521 GB, free: 75.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/1.567, allocations: 5.45 MB / 0.5574 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/1.567, allocations: 7.297 kB / 0.5574 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/1.569, allocations: 187.6 kB / 0.5576 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/1.572, allocations: 0.6215 MB / 0.5582 GB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/1.572, allocations: 44.42 kB / 0.5582 GB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/1.59, allocations: 14.29 MB / 0.5722 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.59, allocations: 6.688 kB / 0.5722 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008485/1.599, allocations: 3.553 MB / 0.5757 GB, free: 63.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.6, allocations: 451.7 kB / 0.5761 GB, free: 63.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006222/1.601, allocations: 35.36 kB / 0.5761 GB, free: 63.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.602, allocations: 78.02 kB / 0.5762 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004446/1.603, allocations: 132.6 kB / 0.5763 GB, free: 63.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.603, allocations: 45.8 kB / 0.5764 GB, free: 63.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002478/1.606, allocations: 1.17 MB / 0.5775 GB, free: 62.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.606, allocations: 0 / 0.5775 GB, free: 62.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003802/1.609, allocations: 0.6474 MB / 0.5781 GB, free: 62.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008685/1.61, allocations: 357 kB / 0.5785 GB, free: 62.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00617/1.616, allocations: 2.648 MB / 0.5811 GB, free: 61.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.616, allocations: 3.781 kB / 0.5811 GB, free: 61.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004416/1.621, allocations: 2.015 MB / 0.583 GB, free: 59.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/1.625, allocations: 0.4954 MB / 0.5835 GB, free: 59.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/1.641, allocations: 7.23 MB / 0.5906 GB, free: 55.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/1.645, allocations: 2.385 MB / 0.5929 GB, free: 54.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002502/1.647, allocations: 396 kB / 0.5933 GB, free: 54.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/1.648, allocations: 123.7 kB / 0.5934 GB, free: 54.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.924e-06/1.648, allocations: 3 kB / 0.5934 GB, free: 54.56 MB / 410.7 MB Notification: Performance of Templates: time 0.08529/1.733, allocations: 31.89 MB / 0.6246 GB, free: 47.46 MB / 410.7 MB