Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.826/1.826, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003584, allocations: 11.98 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07833/0.07871, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3712/0.4499, allocations: 114.1 MB / 422.5 MB, free: 9.164 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4502, allocations: 89.78 kB / 422.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7671/1.217, allocations: 160.2 MB / 0.5691 GB, free: 62.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.638e-06/1.217, allocations: 0 / 0.5691 GB, free: 62.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003118/1.218, allocations: 99.89 kB / 0.5692 GB, free: 62.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01377/1.231, allocations: 4.354 MB / 0.5735 GB, free: 60.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.232, allocations: 10.78 kB / 0.5735 GB, free: 60.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006521/1.238, allocations: 0.9158 MB / 0.5744 GB, free: 60.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/1.25, allocations: 3.833 MB / 0.5781 GB, free: 59.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/1.25, allocations: 297.8 kB / 0.5784 GB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/1.252, allocations: 394.7 kB / 0.5788 GB, free: 59.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/1.264, allocations: 5.121 MB / 0.5838 GB, free: 58.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/1.264, allocations: 3.469 kB / 0.5838 GB, free: 58.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005634/1.265, allocations: 172.7 kB / 0.5839 GB, free: 58.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/1.265, allocations: 168.2 kB / 0.5841 GB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/1.276, allocations: 4.178 MB / 0.5882 GB, free: 58.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/1.309, allocations: 16.83 MB / 0.6046 GB, free: 51.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00749/1.316, allocations: 8.394 MB / 0.6128 GB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008191/1.325, allocations: 4.237 MB / 0.6169 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/1.325, allocations: 47.69 kB / 0.617 GB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 5.828e-06/1.325, allocations: 3.094 kB / 0.617 GB, free: 41.52 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=199): time 0.02013/1.345, allocations: 8.136 MB / 0.6249 GB, free: 37.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.345, allocations: 78.78 kB / 0.625 GB, free: 37.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/1.349, allocations: 1.974 MB / 0.6269 GB, free: 36.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003171/1.349, allocations: 56.64 kB / 0.627 GB, free: 36.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.35, allocations: 1.717 MB / 0.6287 GB, free: 35.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005781/1.351, allocations: 0.6834 MB / 0.6293 GB, free: 34.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.351, allocations: 44.31 kB / 0.6294 GB, free: 34.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/1.351, allocations: 403 kB / 0.6298 GB, free: 34.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/1.353, allocations: 0.9907 MB / 0.6307 GB, free: 33.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/1.356, allocations: 1.666 MB / 0.6324 GB, free: 32.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/1.359, allocations: 1.276 MB / 0.6336 GB, free: 32.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.359, allocations: 7.469 kB / 0.6336 GB, free: 32.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.007051/1.366, allocations: 3.229 MB / 0.6368 GB, free: 30.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/1.366, allocations: 11.28 kB / 0.6368 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/1.366, allocations: 22.09 kB / 0.6368 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.367, allocations: 467.3 kB / 0.6372 GB, free: 30.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.37, allocations: 0.5568 MB / 0.6378 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007933/1.378, allocations: 5.022 MB / 0.6427 GB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.381, allocations: 130.4 kB / 0.6428 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/1.381, allocations: 96 kB / 0.6429 GB, free: 26.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * 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: 1 * 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: 1 {(4,81.2%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002807/1.384, allocations: 1.218 MB / 0.6441 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006102/1.385, allocations: 252.9 kB / 0.6443 GB, free: 25.09 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00608/1.391, allocations: 2.982 MB / 0.6472 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/1.391, allocations: 23.95 kB / 0.6473 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.391, allocations: 12 kB / 0.6473 GB, free: 22.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/1.391, allocations: 10.5 kB / 0.6473 GB, free: 22.44 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/1.404, allocations: 6.659 MB / 0.6538 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.404, allocations: 0 / 0.6538 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/1.406, allocations: 375.1 kB / 0.6542 GB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/1.408, allocations: 476 kB / 0.6546 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.408, allocations: 51.27 kB / 0.6547 GB, free: 16.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008133/1.416, allocations: 6.321 MB / 0.6608 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.663e-06/1.416, allocations: 0 / 0.6608 GB, free: 10.05 MB / 410.7 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[2] + smee.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008234/1.424, allocations: 4.413 MB / 0.6651 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/1.426, allocations: 0.5557 MB / 0.6657 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/1.426, allocations: 43.95 kB / 0.6657 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/1.428, allocations: 101 kB / 0.6658 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/1.428, allocations: 147.9 kB / 0.666 GB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.428, allocations: 54.62 kB / 0.666 GB, free: 5.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00271/1.431, allocations: 1.504 MB / 0.6675 GB, free: 3.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.89e-07/1.431, allocations: 0 / 0.6675 GB, free: 3.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003437/1.435, allocations: 0.7882 MB / 0.6683 GB, free: 3.125 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.is[3],smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 161 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,53.1%) 30,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006946/1.435, allocations: 397.7 kB / 0.6686 GB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005811/1.441, allocations: 2.904 MB / 0.6715 GB, free: 176 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.277e-06/1.441, allocations: 4 kB / 0.6715 GB, free: 172 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2397/1.681, allocations: 1.938 MB / 0.6734 GB, free: 80.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/1.684, allocations: 0.5627 MB / 0.6739 GB, free: 80.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.701, allocations: 8.668 MB / 0.6824 GB, free: 76.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00433/1.706, allocations: 2.714 MB / 0.685 GB, free: 75.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.707, allocations: 189.4 kB / 0.6852 GB, free: 75.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.776e-06/1.707, allocations: 0 / 0.6852 GB, free: 75.74 MB / 410.7 MB Notification: Performance of Templates: time 0.1178/1.825, allocations: 84.56 MB / 0.7678 GB, free: 42.43 MB / 410.7 MB