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_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 11.94 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 44.5 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5452/0.6587, allocations: 105.5 MB / 414.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/0.6591, allocations: 99.73 kB / 414.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4219/1.081, allocations: 88.21 MB / 0.491 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.396e-06/1.081, allocations: 4 kB / 0.491 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003673/1.082, allocations: 91.88 kB / 0.4911 GB, free: 0.7578 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.0177/1.099, allocations: 4.066 MB / 0.4951 GB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.099, allocations: 8.031 kB / 0.4951 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006395/1.106, allocations: 0.7913 MB / 0.4959 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/1.121, allocations: 3.703 MB / 0.4995 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/1.121, allocations: 275.6 kB / 0.4998 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/1.122, allocations: 359.9 kB / 0.5001 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/1.137, allocations: 4.948 MB / 0.5049 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/1.138, allocations: 4 kB / 0.5049 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007578/1.138, allocations: 156 kB / 0.5051 GB, free: 2.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002446/1.139, allocations: 155.2 kB / 0.5052 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/1.153, allocations: 4.163 MB / 0.5093 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3265/1.48, allocations: 15.97 MB / 0.5249 GB, free: 74.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/1.491, allocations: 7.782 MB / 0.5325 GB, free: 69.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/1.502, allocations: 4.065 MB / 0.5365 GB, free: 68.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.503, allocations: 55.52 kB / 0.5365 GB, free: 68.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=167): time 4.809e-06/1.503, allocations: 0 / 0.5365 GB, free: 68.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=170): time 0.02902/1.532, allocations: 8.24 MB / 0.5446 GB, free: 67.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.532, allocations: 73.19 kB / 0.5446 GB, free: 67.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/1.537, allocations: 2.123 MB / 0.5467 GB, free: 66.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004357/1.538, allocations: 56.86 kB / 0.5468 GB, free: 66.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/1.539, allocations: 1.606 MB / 0.5483 GB, free: 66.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008675/1.54, allocations: 0.5673 MB / 0.5489 GB, free: 66.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/1.54, allocations: 40.06 kB / 0.5489 GB, free: 66.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/1.54, allocations: 377.2 kB / 0.5493 GB, free: 65.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/1.543, allocations: 0.9553 MB / 0.5502 GB, free: 65.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/1.546, allocations: 1.422 MB / 0.5516 GB, free: 65.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/1.549, allocations: 1.163 MB / 0.5527 GB, free: 65.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/1.549, allocations: 5.938 kB / 0.5527 GB, free: 65.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008857/1.558, allocations: 3.344 MB / 0.556 GB, free: 64.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/1.558, allocations: 11.69 kB / 0.556 GB, free: 64.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/1.558, allocations: 14.53 kB / 0.556 GB, free: 64.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002909/1.561, allocations: 0.7351 MB / 0.5568 GB, free: 64.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/1.564, allocations: 379 kB / 0.5571 GB, free: 64.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/1.579, allocations: 10.63 MB / 0.5675 GB, free: 59.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/1.582, allocations: 101.6 kB / 0.5676 GB, free: 59.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/1.583, allocations: 77.64 kB / 0.5677 GB, free: 59.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 188 * 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: 4 * 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%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003134/1.586, allocations: 1.211 MB / 0.5689 GB, free: 59.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008017/1.586, allocations: 221.9 kB / 0.5691 GB, free: 59.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008424/1.595, allocations: 3.245 MB / 0.5722 GB, free: 58.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/1.595, allocations: 14.47 kB / 0.5722 GB, free: 58.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/1.595, allocations: 11.53 kB / 0.5723 GB, free: 58.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/1.595, allocations: 7.547 kB / 0.5723 GB, free: 58.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/1.612, allocations: 6.688 MB / 0.5788 GB, free: 57.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.612, allocations: 3.281 kB / 0.5788 GB, free: 57.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.614, allocations: 192.5 kB / 0.579 GB, free: 57.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003849/1.618, allocations: 0.9178 MB / 0.5799 GB, free: 57.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003184/1.618, allocations: 41.92 kB / 0.5799 GB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/1.641, allocations: 15.1 MB / 0.5947 GB, free: 46.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.641, allocations: 7.016 kB / 0.5947 GB, free: 46.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.66, allocations: 4.617 MB / 0.5992 GB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/1.663, allocations: 0.5346 MB / 0.5997 GB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/1.664, allocations: 39.03 kB / 0.5997 GB, free: 43.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003397/1.667, allocations: 92.23 kB / 0.5998 GB, free: 43.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009012/1.668, allocations: 174 kB / 0.6 GB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.668, allocations: 46.44 kB / 0.6 GB, free: 43.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00477/1.673, allocations: 1.456 MB / 0.6015 GB, free: 43.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.303e-06/1.673, allocations: 0 / 0.6015 GB, free: 43.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006249/1.679, allocations: 0.7425 MB / 0.6022 GB, free: 42.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(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.00123/1.681, allocations: 369.4 kB / 0.6025 GB, free: 42.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01194/1.693, allocations: 3.158 MB / 0.6056 GB, free: 41.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.693, allocations: 2.844 kB / 0.6056 GB, free: 41.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008802/1.702, allocations: 2.314 MB / 0.6079 GB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007378/1.709, allocations: 0.5987 MB / 0.6085 GB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02868/1.738, allocations: 8.224 MB / 0.6165 GB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006137/1.744, allocations: 2.749 MB / 0.6192 GB, free: 34.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004848/1.749, allocations: 477.1 kB / 0.6196 GB, free: 34.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/1.75, allocations: 135.3 kB / 0.6198 GB, free: 34.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/1.75, allocations: 0 / 0.6198 GB, free: 34.02 MB / 410.7 MB Notification: Performance of Templates: time 0.1007/1.85, allocations: 38.42 MB / 0.6573 GB, free: 13.51 MB / 410.7 MB