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.SMEE_DOL.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003792, allocations: 12 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2979, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.77, allocations: 114 MB / 422.6 MB, free: 49.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.7703, allocations: 92.17 kB / 422.7 MB, free: 49.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8526/1.623, allocations: 160.2 MB / 0.5692 GB, free: 66.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.623, allocations: 0 / 0.5692 GB, free: 66.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004325/1.623, allocations: 100.4 kB / 0.5693 GB, free: 66.67 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.0196/1.643, allocations: 4.351 MB / 0.5736 GB, free: 65.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.643, allocations: 8.938 kB / 0.5736 GB, free: 65.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002461/1.646, allocations: 0.5533 MB / 0.5741 GB, free: 65.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007893/1.654, allocations: 0.9244 MB / 0.575 GB, free: 64.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/1.668, allocations: 3.834 MB / 0.5788 GB, free: 64.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004525/1.669, allocations: 298.2 kB / 0.5791 GB, free: 64.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001822/1.671, allocations: 399.1 kB / 0.5794 GB, free: 64.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/1.689, allocations: 5.108 MB / 0.5844 GB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001971/1.689, allocations: 11.09 kB / 0.5844 GB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/1.69, allocations: 170.7 kB / 0.5846 GB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/1.691, allocations: 170.1 kB / 0.5848 GB, free: 63.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/1.705, allocations: 4.184 MB / 0.5888 GB, free: 63.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04247/1.747, allocations: 16.82 MB / 0.6053 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/1.758, allocations: 8.394 MB / 0.6135 GB, free: 53.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/1.769, allocations: 4.239 MB / 0.6176 GB, free: 52.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/1.769, allocations: 47.12 kB / 0.6177 GB, free: 52.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.568e-06/1.769, allocations: 0 / 0.6177 GB, free: 52.6 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.02661/1.795, allocations: 8.139 MB / 0.6256 GB, free: 50.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.795, allocations: 73.03 kB / 0.6257 GB, free: 50.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/1.8, allocations: 1.979 MB / 0.6276 GB, free: 49.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004144/1.8, allocations: 60.92 kB / 0.6277 GB, free: 49.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.802, allocations: 1.809 MB / 0.6294 GB, free: 48.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008665/1.803, allocations: 0.6769 MB / 0.6301 GB, free: 47.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/1.803, allocations: 47.91 kB / 0.6301 GB, free: 47.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/1.803, allocations: 396.7 kB / 0.6305 GB, free: 47.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/1.806, allocations: 0.9918 MB / 0.6315 GB, free: 46.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/1.809, allocations: 1.66 MB / 0.6331 GB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/1.813, allocations: 1.288 MB / 0.6344 GB, free: 45.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-05/1.813, allocations: 3.719 kB / 0.6344 GB, free: 45.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.009416/1.822, allocations: 3.385 MB / 0.6377 GB, free: 43.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/1.822, allocations: 14.16 kB / 0.6377 GB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/1.822, allocations: 25.44 kB / 0.6377 GB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.824, allocations: 466.3 kB / 0.6382 GB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004189/1.828, allocations: 0.5547 MB / 0.6387 GB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009625/1.838, allocations: 5.014 MB / 0.6436 GB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/1.841, allocations: 127.3 kB / 0.6437 GB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/1.842, allocations: 99.47 kB / 0.6438 GB, free: 40.26 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.003335/1.845, allocations: 1.219 MB / 0.645 GB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007829/1.846, allocations: 251.4 kB / 0.6452 GB, free: 39.49 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.007934/1.854, allocations: 2.977 MB / 0.6481 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/1.854, allocations: 25.27 kB / 0.6482 GB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.854, allocations: 3.969 kB / 0.6482 GB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-05/1.854, allocations: 13.89 kB / 0.6482 GB, free: 38.1 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.01662/1.87, allocations: 6.673 MB / 0.6547 GB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.871, allocations: 3.562 kB / 0.6547 GB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/1.874, allocations: 372.7 kB / 0.6551 GB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/1.875, allocations: 477.8 kB / 0.6555 GB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/1.876, allocations: 46.2 kB / 0.6556 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009821/1.886, allocations: 6.317 MB / 0.6617 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/1.886, allocations: 8.188 kB / 0.6617 GB, free: 30.29 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.01028/1.896, allocations: 4.423 MB / 0.6661 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/1.898, allocations: 0.5456 MB / 0.6666 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/1.898, allocations: 50.36 kB / 0.6666 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.901, allocations: 101 kB / 0.6667 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/1.901, allocations: 143.8 kB / 0.6669 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.901, allocations: 56.31 kB / 0.6669 GB, free: 27.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003206/1.905, allocations: 1.5 MB / 0.6684 GB, free: 27.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.905, allocations: 0 / 0.6684 GB, free: 27.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003812/1.908, allocations: 0.7909 MB / 0.6692 GB, free: 26.92 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 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 Backend phase and start with SimCode phase: time 0.01144/1.92, allocations: 5.648 MB / 0.6747 GB, free: 23.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007455/1.927, allocations: 2.896 MB / 0.6775 GB, free: 21.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.927, allocations: 2 kB / 0.6775 GB, free: 21.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004229/1.932, allocations: 1.691 MB / 0.6792 GB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/1.936, allocations: 0.5583 MB / 0.6797 GB, free: 19.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06169/1.998, allocations: 35.76 MB / 0.7146 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2956/2.293, allocations: 2.784 MB / 0.7173 GB, free: 74.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004239/2.298, allocations: 0.5833 MB / 0.7179 GB, free: 74.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003646/2.301, allocations: 1.482 MB / 0.7194 GB, free: 74.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/2.301, allocations: 3.219 kB / 0.7194 GB, free: 74.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1684/2.47, allocations: 65.43 MB / 0.7833 GB, free: 71.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/2.47, allocations: 213.6 kB / 0.7835 GB, free: 70.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.395/7.865, allocations: 0 / 0.7835 GB, free: 70.86 MB / 426.7 MB