Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003739, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5358/0.6578, allocations: 114 MB / 423 MB, free: 7.848 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6581, allocations: 87.67 kB / 423.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9073/1.565, allocations: 160.2 MB / 0.5696 GB, free: 63.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.565, allocations: 0 / 0.5696 GB, free: 63.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004778/1.566, allocations: 101.6 kB / 0.5697 GB, free: 63.28 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.01844/1.584, allocations: 4.358 MB / 0.574 GB, free: 61.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.584, allocations: 6.938 kB / 0.574 GB, free: 61.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007638/1.592, allocations: 0.9174 MB / 0.5749 GB, free: 61.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/1.606, allocations: 3.824 MB / 0.5786 GB, free: 60.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/1.607, allocations: 300.7 kB / 0.5789 GB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/1.608, allocations: 395.5 kB / 0.5793 GB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/1.624, allocations: 5.15 MB / 0.5843 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/1.624, allocations: 2.812 kB / 0.5843 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009301/1.625, allocations: 169.1 kB / 0.5845 GB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/1.626, allocations: 170.8 kB / 0.5846 GB, free: 60.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/1.644, allocations: 4.181 MB / 0.5887 GB, free: 60.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0866/1.73, allocations: 16.85 MB / 0.6052 GB, free: 52.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/1.741, allocations: 8.393 MB / 0.6133 GB, free: 44.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/1.754, allocations: 4.242 MB / 0.6175 GB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/1.754, allocations: 51.06 kB / 0.6175 GB, free: 42.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 5.52e-06/1.754, allocations: 0 / 0.6175 GB, free: 42.14 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.02819/1.782, allocations: 8.136 MB / 0.6255 GB, free: 38.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/1.782, allocations: 74.38 kB / 0.6256 GB, free: 38.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/1.787, allocations: 2.224 MB / 0.6277 GB, free: 37.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004534/1.788, allocations: 61.55 kB / 0.6278 GB, free: 37.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1.789, allocations: 1.715 MB / 0.6295 GB, free: 35.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009465/1.79, allocations: 0.6804 MB / 0.6301 GB, free: 35.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/1.791, allocations: 43.78 kB / 0.6302 GB, free: 35.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/1.791, allocations: 412.2 kB / 0.6306 GB, free: 34.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/1.793, allocations: 0.9784 MB / 0.6315 GB, free: 34.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/1.797, allocations: 1.682 MB / 0.6332 GB, free: 33.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/1.8, allocations: 1.28 MB / 0.6344 GB, free: 32.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/1.8, allocations: 7.438 kB / 0.6344 GB, free: 32.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.008628/1.809, allocations: 3.224 MB / 0.6376 GB, free: 31.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/1.809, allocations: 20.84 kB / 0.6376 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/1.809, allocations: 18.19 kB / 0.6376 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/1.811, allocations: 470.4 kB / 0.638 GB, free: 30.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/1.815, allocations: 0.5472 MB / 0.6386 GB, free: 30.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009752/1.825, allocations: 5.023 MB / 0.6435 GB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/1.828, allocations: 124.9 kB / 0.6436 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/1.829, allocations: 100 kB / 0.6437 GB, free: 25.58 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.003487/1.832, allocations: 1.215 MB / 0.6449 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008/1.833, allocations: 252.9 kB / 0.6451 GB, free: 24.25 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.007848/1.841, allocations: 2.978 MB / 0.648 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/1.841, allocations: 23.94 kB / 0.6481 GB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.841, allocations: 8 kB / 0.6481 GB, free: 21.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/1.841, allocations: 14.69 kB / 0.6481 GB, free: 21.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[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.01684/1.858, allocations: 6.664 MB / 0.6546 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.858, allocations: 0 / 0.6546 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/1.861, allocations: 372.9 kB / 0.6549 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/1.863, allocations: 481.8 kB / 0.6554 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000314/1.863, allocations: 45.72 kB / 0.6554 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.873, allocations: 6.324 MB / 0.6616 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/1.873, allocations: 0 / 0.6616 GB, free: 9.195 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.01121/1.884, allocations: 4.313 MB / 0.6658 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.886, allocations: 0.5454 MB / 0.6664 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.887, allocations: 55.7 kB / 0.6664 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.89, allocations: 90.66 kB / 0.6665 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004849/1.891, allocations: 146.6 kB / 0.6666 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.891, allocations: 51.89 kB / 0.6667 GB, free: 4.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003708/1.895, allocations: 1.507 MB / 0.6682 GB, free: 3.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.895, allocations: 0 / 0.6682 GB, free: 3.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007411/1.902, allocations: 0.7927 MB / 0.6689 GB, free: 2.426 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.001459/1.904, allocations: 412.1 kB / 0.6693 GB, free: 2.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2992/2.203, allocations: 2.895 MB / 0.6722 GB, free: 78.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/2.203, allocations: 0 / 0.6722 GB, free: 78.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004857/2.208, allocations: 1.682 MB / 0.6738 GB, free: 78.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004766/2.213, allocations: 0.5586 MB / 0.6744 GB, free: 78.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/2.235, allocations: 8.68 MB / 0.6828 GB, free: 74.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005619/2.241, allocations: 2.719 MB / 0.6855 GB, free: 73.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/2.242, allocations: 190.3 kB / 0.6857 GB, free: 73.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/2.242, allocations: 0 / 0.6857 GB, free: 73.8 MB / 410.7 MB Notification: Performance of Templates: time 0.1469/2.389, allocations: 84.55 MB / 0.7682 GB, free: 40.32 MB / 410.7 MB