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.SMR_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.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003439, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09067, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.5333, allocations: 107.9 MB / 416.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5336, allocations: 92.67 kB / 416.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8463/1.38, allocations: 159.1 MB / 0.5622 GB, free: 59.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.38, allocations: 2.078 kB / 0.5622 GB, free: 59.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006366/1.381, allocations: 168 kB / 0.5624 GB, free: 59.52 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.0363/1.417, allocations: 6.974 MB / 0.5692 GB, free: 56.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/1.417, allocations: 8.312 kB / 0.5692 GB, free: 56.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004969/1.422, allocations: 0.9614 MB / 0.5701 GB, free: 56.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/1.44, allocations: 1.519 MB / 0.5716 GB, free: 56.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02586/1.465, allocations: 5.74 MB / 0.5772 GB, free: 55.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008022/1.466, allocations: 0.5152 MB / 0.5777 GB, free: 55.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003373/1.47, allocations: 0.678 MB / 0.5784 GB, free: 55.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03624/1.506, allocations: 9.174 MB / 0.5873 GB, free: 54.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003378/1.506, allocations: 15.81 kB / 0.5874 GB, free: 54.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00232/1.509, allocations: 293.1 kB / 0.5876 GB, free: 54.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005155/1.509, allocations: 319 kB / 0.5879 GB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06126/1.571, allocations: 7.537 MB / 0.5953 GB, free: 53.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07232/1.643, allocations: 28.81 MB / 0.6234 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.665, allocations: 16.54 MB / 0.6396 GB, free: 23.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01598/1.681, allocations: 6.605 MB / 0.646 GB, free: 19.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.681, allocations: 67.31 kB / 0.6461 GB, free: 19.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=278): time 5.631e-06/1.681, allocations: 0 / 0.6461 GB, free: 19.86 MB / 410.7 MB Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[2] ; smr3.is[1] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=312): time 0.0428/1.724, allocations: 13.5 MB / 0.6593 GB, free: 8.094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/1.724, allocations: 85.81 kB / 0.6594 GB, free: 7.996 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006391/1.73, allocations: 2.909 MB / 0.6622 GB, free: 5.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006681/1.731, allocations: 77.7 kB / 0.6623 GB, free: 5.434 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001916/1.733, allocations: 2.798 MB / 0.665 GB, free: 2.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001254/1.734, allocations: 1.067 MB / 0.6661 GB, free: 1.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/1.734, allocations: 72 kB / 0.6661 GB, free: 1.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/1.735, allocations: 457.4 kB / 0.6666 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/1.738, allocations: 1.579 MB / 0.6681 GB, free: 92 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01406/1.752, allocations: 3.06 MB / 0.6711 GB, free: 14.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00604/1.759, allocations: 2.055 MB / 0.6731 GB, free: 12.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.535e-05/1.759, allocations: 8 kB / 0.6731 GB, free: 12.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.01512/1.774, allocations: 5.078 MB / 0.6781 GB, free: 8.137 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/1.774, allocations: 16 kB / 0.6781 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.029e-05/1.774, allocations: 32 kB / 0.6781 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/1.777, allocations: 0.7379 MB / 0.6788 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006476/1.784, allocations: 0.8185 MB / 0.6796 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3282/2.112, allocations: 10.76 MB / 0.6901 GB, free: 68.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/2.117, allocations: 172.2 kB / 0.6903 GB, free: 68.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008305/2.117, allocations: 151.4 kB / 0.6905 GB, free: 68.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (417): * Single equations (assignments): 411 * 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 {(4,81.2%) 30,(1,100.0%) 1,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006623/2.124, allocations: 2.102 MB / 0.6925 GB, free: 68.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/2.125, allocations: 379.3 kB / 0.6929 GB, free: 68.12 MB / 426.7 MB Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[1] ; smr3.is[2] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.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.01504/2.14, allocations: 4.894 MB / 0.6976 GB, free: 67.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.874e-05/2.141, allocations: 30.59 kB / 0.6977 GB, free: 67.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/2.141, allocations: 13.22 kB / 0.6977 GB, free: 67.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.881e-05/2.141, allocations: 16.55 kB / 0.6977 GB, free: 67.68 MB / 426.7 MB Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[1] ; smr3.is[2] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03706/2.178, allocations: 11.31 MB / 0.7087 GB, free: 66.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.572e-05/2.178, allocations: 3.969 kB / 0.7088 GB, free: 66.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006136/2.184, allocations: 498 kB / 0.7092 GB, free: 66.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00541/2.189, allocations: 1.004 MB / 0.7102 GB, free: 66.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006948/2.19, allocations: 80.64 kB / 0.7103 GB, free: 66.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03495/2.225, allocations: 17.71 MB / 0.7276 GB, free: 57.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/2.225, allocations: 9.062 kB / 0.7276 GB, free: 57.35 MB / 426.7 MB Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[1] ; smr3.is[2] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02416/2.249, allocations: 7.32 MB / 0.7347 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00306/2.253, allocations: 0.8162 MB / 0.7355 GB, free: 56.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/2.254, allocations: 71.48 kB / 0.7356 GB, free: 55.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004376/2.258, allocations: 154.2 kB / 0.7357 GB, free: 55.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/2.26, allocations: 237.5 kB / 0.736 GB, free: 55.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003687/2.26, allocations: 90.69 kB / 0.7361 GB, free: 55.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005964/2.266, allocations: 2.214 MB / 0.7382 GB, free: 55.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.2e-07/2.266, allocations: 0 / 0.7382 GB, free: 55.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007333/2.273, allocations: 1.263 MB / 0.7395 GB, free: 54.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.is[3],smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.stator.zeroInductor.i0,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (236): * Single equations (assignments): 230 * 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,(6,69.4%) 28,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Warning: The linear system: 1 : smr3.is[1] + smr3.is[2] + smr3.is[3] = 0.0 2 : 3.0 * smr3.stator.zeroInductor.i0 = smr3.is[1] + smr3.is[2] + smr3.is[3] [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ smr3.is[1] ; smr3.is[2] ] = [ -smr3.is[3] ; smr3.is[3] + (-3.0) * smr3.stator.zeroInductor.i0 ] might be structurally or numerically singular for variable smr3.is[2] 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.02016/2.294, allocations: 9.132 MB / 0.7484 GB, free: 49.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/2.306, allocations: 4.826 MB / 0.7531 GB, free: 47.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/2.306, allocations: 0 / 0.7531 GB, free: 47.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008247/2.314, allocations: 3.133 MB / 0.7561 GB, free: 45.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007358/2.322, allocations: 0.9222 MB / 0.757 GB, free: 45.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1036/2.425, allocations: 56.94 MB / 0.8127 GB, free: 19.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008205/2.434, allocations: 4.29 MB / 0.8168 GB, free: 17.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006276/2.44, allocations: 2.593 MB / 0.8194 GB, free: 15.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/2.44, allocations: 0 / 0.8194 GB, free: 15.71 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.46/7.9, allocations: 308.6 MB / 1.121 GB, free: 65.59 MB / 474.7 MB