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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005541/0.0005544, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1147, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.5736, allocations: 114 MB / 423.1 MB, free: 7.875 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5739, allocations: 89.2 kB / 423.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012/1.586, allocations: 160.2 MB / 0.5697 GB, free: 63.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/1.586, allocations: 0 / 0.5697 GB, free: 63.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004237/1.587, allocations: 104.5 kB / 0.5698 GB, free: 63.86 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.01835/1.605, allocations: 4.359 MB / 0.574 GB, free: 62.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.605, allocations: 11.25 kB / 0.574 GB, free: 62.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007729/1.613, allocations: 0.9206 MB / 0.5749 GB, free: 61.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/1.627, allocations: 3.827 MB / 0.5787 GB, free: 61.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/1.627, allocations: 297.9 kB / 0.579 GB, free: 61.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/1.629, allocations: 407.7 kB / 0.5794 GB, free: 61.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01614/1.645, allocations: 5.107 MB / 0.5843 GB, free: 60.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/1.645, allocations: 10.81 kB / 0.5844 GB, free: 60.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009999/1.646, allocations: 171.9 kB / 0.5845 GB, free: 60.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/1.646, allocations: 166.6 kB / 0.5847 GB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/1.66, allocations: 4.178 MB / 0.5888 GB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04247/1.703, allocations: 16.84 MB / 0.6052 GB, free: 52.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/1.713, allocations: 8.391 MB / 0.6134 GB, free: 45.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/1.724, allocations: 4.233 MB / 0.6175 GB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/1.724, allocations: 54.53 kB / 0.6176 GB, free: 42.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.879e-06/1.724, allocations: 0 / 0.6176 GB, free: 42.48 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.02626/1.751, allocations: 8.145 MB / 0.6255 GB, free: 38.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/1.751, allocations: 72.06 kB / 0.6256 GB, free: 38.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004653/1.755, allocations: 2.222 MB / 0.6278 GB, free: 37.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004364/1.756, allocations: 61.05 kB / 0.6278 GB, free: 37.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.757, allocations: 1.816 MB / 0.6296 GB, free: 36.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008168/1.758, allocations: 0.6752 MB / 0.6303 GB, free: 35.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/1.758, allocations: 43.47 kB / 0.6303 GB, free: 35.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/1.758, allocations: 406.1 kB / 0.6307 GB, free: 35.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/1.761, allocations: 0.9821 MB / 0.6317 GB, free: 34.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/1.764, allocations: 1.666 MB / 0.6333 GB, free: 33.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/1.768, allocations: 1.28 MB / 0.6345 GB, free: 33.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/1.768, allocations: 5.438 kB / 0.6345 GB, free: 33.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.00926/1.777, allocations: 3.378 MB / 0.6378 GB, free: 31.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/1.777, allocations: 16.03 kB / 0.6378 GB, free: 31.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/1.777, allocations: 20 kB / 0.6379 GB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/1.779, allocations: 476.7 kB / 0.6383 GB, free: 30.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/1.783, allocations: 0.5435 MB / 0.6389 GB, free: 30.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009375/1.792, allocations: 5.035 MB / 0.6438 GB, free: 25.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/1.795, allocations: 125 kB / 0.6439 GB, free: 25.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/1.796, allocations: 99.42 kB / 0.644 GB, free: 25.27 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.00315/1.799, allocations: 1.216 MB / 0.6452 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007613/1.8, allocations: 252.9 kB / 0.6454 GB, free: 23.93 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.007764/1.808, allocations: 2.988 MB / 0.6483 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/1.808, allocations: 20 kB / 0.6483 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.808, allocations: 8 kB / 0.6484 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-05/1.808, allocations: 9.75 kB / 0.6484 GB, free: 21.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 removeSimpleEquations (simulation): time 0.01604/1.824, allocations: 6.661 MB / 0.6549 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.824, allocations: 8.031 kB / 0.6549 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/1.827, allocations: 368.1 kB / 0.6552 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/1.829, allocations: 477.2 kB / 0.6557 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/1.829, allocations: 51.19 kB / 0.6557 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/1.839, allocations: 6.321 MB / 0.6619 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.839, allocations: 0 / 0.6619 GB, free: 8.883 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.01044/1.849, allocations: 4.309 MB / 0.6661 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.851, allocations: 0.5473 MB / 0.6666 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008285/1.852, allocations: 51.61 kB / 0.6667 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/1.855, allocations: 93.72 kB / 0.6668 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005765/1.855, allocations: 152.7 kB / 0.6669 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.856, allocations: 51.47 kB / 0.667 GB, free: 4.184 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003496/1.859, allocations: 1.505 MB / 0.6685 GB, free: 2.906 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.859, allocations: 0 / 0.6685 GB, free: 2.906 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004185/1.863, allocations: 0.789 MB / 0.6692 GB, free: 2.117 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.001048/1.864, allocations: 417.5 kB / 0.6696 GB, free: 1.777 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2876/2.152, allocations: 2.896 MB / 0.6724 GB, free: 79.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.152, allocations: 1.812 kB / 0.6725 GB, free: 79.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004617/2.157, allocations: 1.681 MB / 0.6741 GB, free: 78.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004383/2.161, allocations: 0.5491 MB / 0.6746 GB, free: 78.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/2.182, allocations: 8.712 MB / 0.6831 GB, free: 75.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005107/2.187, allocations: 2.788 MB / 0.6859 GB, free: 74.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003971/2.191, allocations: 0.5808 MB / 0.6864 GB, free: 74.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/2.192, allocations: 170.3 kB / 0.6866 GB, free: 74.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/2.192, allocations: 3.844 kB / 0.6866 GB, free: 74.64 MB / 410.7 MB Notification: Performance of Templates: time 0.1061/2.298, allocations: 36.87 MB / 0.7226 GB, free: 72.7 MB / 410.7 MB