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.SMPM_Inverter_MultiPhase.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.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 12 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.341, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5385/0.8796, allocations: 111.4 MB / 419.9 MB, free: 48.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.88, allocations: 95.41 kB / 420 MB, free: 48.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.931/1.811, allocations: 169.1 MB / 0.5753 GB, free: 38.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.809e-06/1.811, allocations: 3.438 kB / 0.5753 GB, free: 38.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006667/1.812, allocations: 170 kB / 0.5754 GB, free: 38.36 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: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.03222/1.844, allocations: 7.275 MB / 0.5825 GB, free: 36.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.844, allocations: 7.5 kB / 0.5826 GB, free: 36.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004619/1.849, allocations: 0.9993 MB / 0.5835 GB, free: 36.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/1.862, allocations: 1.602 MB / 0.5851 GB, free: 35.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02109/1.883, allocations: 5.942 MB / 0.5909 GB, free: 34.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008113/1.884, allocations: 0.5382 MB / 0.5914 GB, free: 34.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/1.887, allocations: 0.7127 MB / 0.5921 GB, free: 34.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03092/1.918, allocations: 9.501 MB / 0.6014 GB, free: 33.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/1.919, allocations: 13.19 kB / 0.6014 GB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002195/1.921, allocations: 306.6 kB / 0.6017 GB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003989/1.921, allocations: 337.5 kB / 0.602 GB, free: 33.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02507/1.946, allocations: 7.766 MB / 0.6096 GB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0802/2.027, allocations: 30.59 MB / 0.6395 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02397/2.051, allocations: 16.12 MB / 0.6552 GB, free: 28.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02124/2.072, allocations: 7.048 MB / 0.6621 GB, free: 24.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.133e-05/2.072, allocations: 71.17 kB / 0.6622 GB, free: 24.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 7.214e-06/2.072, allocations: 0 / 0.6622 GB, free: 24.57 MB / 426.7 MB Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=346): time 0.05356/2.126, allocations: 14.34 MB / 0.6762 GB, free: 17.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/2.126, allocations: 92.61 kB / 0.6763 GB, free: 17.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008622/2.134, allocations: 3.186 MB / 0.6794 GB, free: 16.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007578/2.135, allocations: 84.11 kB / 0.6795 GB, free: 16.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003177/2.138, allocations: 3.121 MB / 0.6825 GB, free: 14.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001731/2.14, allocations: 1.18 MB / 0.6837 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005524/2.141, allocations: 77.97 kB / 0.6837 GB, free: 13.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004349/2.141, allocations: 463.2 kB / 0.6842 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005495/2.147, allocations: 1.696 MB / 0.6858 GB, free: 12.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00706/2.154, allocations: 2.788 MB / 0.6885 GB, free: 9.988 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006824/2.161, allocations: 2.206 MB / 0.6907 GB, free: 8.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.196e-05/2.161, allocations: 10.25 kB / 0.6907 GB, free: 8.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.01883/2.18, allocations: 5.69 MB / 0.6963 GB, free: 6.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/2.18, allocations: 18.16 kB / 0.6963 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.921e-05/2.18, allocations: 36.03 kB / 0.6963 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003222/2.183, allocations: 0.7784 MB / 0.6971 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007449/2.191, allocations: 0.901 MB / 0.698 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/2.212, allocations: 10.84 MB / 0.7085 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/2.218, allocations: 184.2 kB / 0.7087 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/2.219, allocations: 175.4 kB / 0.7089 GB, free: 12.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (463): * Single equations (assignments): 457 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,92.0%) 31,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007211/2.227, allocations: 2.172 MB / 0.711 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/2.228, allocations: 414.6 kB / 0.7114 GB, free: 10.37 MB / 442.7 MB Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/2.246, allocations: 5.248 MB / 0.7165 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/2.246, allocations: 32 kB / 0.7166 GB, free: 5.777 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-05/2.246, allocations: 16 kB / 0.7166 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.332e-05/2.246, allocations: 18.19 kB / 0.7166 GB, free: 5.762 MB / 442.7 MB Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.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.432/2.678, allocations: 12.38 MB / 0.7287 GB, free: 62.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.065e-05/2.678, allocations: 7.281 kB / 0.7287 GB, free: 62.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00696/2.685, allocations: 0.533 MB / 0.7292 GB, free: 62.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006635/2.692, allocations: 1.006 MB / 0.7302 GB, free: 62.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/2.693, allocations: 85.47 kB / 0.7303 GB, free: 62.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03903/2.732, allocations: 17.91 MB / 0.7478 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-05/2.732, allocations: 12.45 kB / 0.7478 GB, free: 53.18 MB / 442.7 MB Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.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.02925/2.762, allocations: 7.977 MB / 0.7556 GB, free: 51.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00472/2.766, allocations: 0.8988 MB / 0.7564 GB, free: 51.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002279/2.769, allocations: 77.27 kB / 0.7565 GB, free: 51.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006828/2.776, allocations: 161.5 kB / 0.7567 GB, free: 51.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/2.777, allocations: 255.6 kB / 0.7569 GB, free: 51.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006303/2.778, allocations: 101.6 kB / 0.757 GB, free: 51.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009367/2.787, allocations: 2.418 MB / 0.7594 GB, free: 51.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.273e-06/2.787, allocations: 0 / 0.7594 GB, free: 51.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01189/2.799, allocations: 1.354 MB / 0.7607 GB, free: 51.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.is[3],smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.stator.zeroInductor.i0,loadInertiaM.phi,loadInertia3.phi,vfController.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (268): * Single equations (assignments): 262 * 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 {(4,93.8%) 33,(5,68.0%) 29,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 14} * Non-linear torn systems: 0 Warning: The linear system: 1 : smpm3.is[1] + smpm3.is[2] + smpm3.is[3] = 0.0 2 : 3.0 * smpm3.stator.zeroInductor.i0 = smpm3.is[1] + smpm3.is[2] + smpm3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smpm3.is[2] ; smpm3.is[1] ] = [ -smpm3.is[3] ; smpm3.is[3] + (-3.0) * smpm3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smpm3.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.03223/2.831, allocations: 10.05 MB / 0.7705 GB, free: 48.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0182/2.85, allocations: 5.166 MB / 0.7756 GB, free: 47.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/2.85, allocations: 0 / 0.7756 GB, free: 47.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01156/2.861, allocations: 3.302 MB / 0.7788 GB, free: 47.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/2.873, allocations: 1.033 MB / 0.7798 GB, free: 47.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1445/3.017, allocations: 62.26 MB / 0.8406 GB, free: 22.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009897/3.027, allocations: 4.522 MB / 0.845 GB, free: 20.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006831/3.034, allocations: 0.9338 MB / 0.8459 GB, free: 20.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007024/3.041, allocations: 2.723 MB / 0.8486 GB, free: 18.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/3.041, allocations: 4 kB / 0.8486 GB, free: 18.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5864/3.628, allocations: 113.2 MB / 0.9592 GB, free: 73.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/3.628, allocations: 237.8 kB / 0.9594 GB, free: 72.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/11.18, allocations: 0 / 0.9594 GB, free: 72.87 MB / 458.7 MB