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.AIMC_Inverter.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.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.139/2.139, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 12 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2999, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.4844, allocations: 103.2 MB / 411.7 MB, free: 5.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.4847, allocations: 87.95 kB / 411.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5589/1.044, allocations: 79.41 MB / 491.2 MB, free: 34.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.837e-06/1.044, allocations: 0 / 491.2 MB, free: 34.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003994/1.044, allocations: 71.94 kB / 491.3 MB, free: 34.21 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01822/1.062, allocations: 3.466 MB / 494.8 MB, free: 30.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/1.063, allocations: 8.031 kB / 494.8 MB, free: 30.67 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002424/1.065, allocations: 451 kB / 495.2 MB, free: 30.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009735/1.075, allocations: 0.7219 MB / 495.9 MB, free: 29.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/1.092, allocations: 3.296 MB / 499.2 MB, free: 26.13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000422/1.093, allocations: 238.2 kB / 499.5 MB, free: 25.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/1.095, allocations: 315.9 kB / 499.8 MB, free: 25.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/1.113, allocations: 4.132 MB / 0.4921 GB, free: 21.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/1.114, allocations: 0 / 0.4921 GB, free: 21.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009347/1.114, allocations: 132 kB / 0.4922 GB, free: 21.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/1.115, allocations: 146.3 kB / 0.4924 GB, free: 21.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/1.131, allocations: 3.414 MB / 0.4957 GB, free: 17.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0427/1.174, allocations: 13.24 MB / 0.5086 GB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/1.189, allocations: 6.914 MB / 0.5154 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/1.202, allocations: 3.223 MB / 0.5185 GB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.589e-05/1.202, allocations: 51.81 kB / 0.5186 GB, free: 8.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=131): time 6.011e-06/1.202, allocations: 4 kB / 0.5186 GB, free: 8.887 MB / 362.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[1] ; aimc.is[2] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=161): time 0.03784/1.24, allocations: 7.342 MB / 0.5258 GB, free: 1.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/1.24, allocations: 68.72 kB / 0.5258 GB, free: 1.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005555/1.245, allocations: 1.466 MB / 0.5272 GB, free: 15.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004543/1.246, allocations: 53.7 kB / 0.5273 GB, free: 15.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/1.248, allocations: 1.392 MB / 0.5287 GB, free: 14.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.249, allocations: 0.5468 MB / 0.5292 GB, free: 13.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/1.249, allocations: 36 kB / 0.5292 GB, free: 13.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002859/1.25, allocations: 385.8 kB / 0.5296 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/1.252, allocations: 0.812 MB / 0.5304 GB, free: 12.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/1.256, allocations: 1.259 MB / 0.5316 GB, free: 11.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/1.259, allocations: 1.056 MB / 0.5326 GB, free: 10.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/1.259, allocations: 4 kB / 0.5327 GB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009676/1.269, allocations: 2.873 MB / 0.5355 GB, free: 7.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/1.269, allocations: 12 kB / 0.5355 GB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/1.269, allocations: 12 kB / 0.5355 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/1.272, allocations: 0.5832 MB / 0.5361 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/1.275, allocations: 383.3 kB / 0.5364 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.292, allocations: 8.77 MB / 0.545 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.295, allocations: 83.86 kB / 0.5451 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004066/1.295, allocations: 83.92 kB / 0.5451 GB, free: 12.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (186): * Single equations (assignments): 182 * 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: 3 * 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: 3 {(4,93.8%) 30,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003325/1.298, allocations: 1.02 MB / 0.5461 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007203/1.299, allocations: 193.6 kB / 0.5463 GB, free: 11.59 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.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.00945/1.309, allocations: 2.69 MB / 0.5489 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/1.309, allocations: 16 kB / 0.549 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.65e-05/1.309, allocations: 8 kB / 0.549 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/1.309, allocations: 7.969 kB / 0.549 GB, free: 8.805 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.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.01826/1.327, allocations: 5.819 MB / 0.5547 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.327, allocations: 0 / 0.5547 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.33, allocations: 255.8 kB / 0.5549 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/1.332, allocations: 0.5736 MB / 0.5555 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003326/1.333, allocations: 43.98 kB / 0.5555 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3117/1.644, allocations: 9.988 MB / 0.5653 GB, free: 81.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.645, allocations: 0 / 0.5653 GB, free: 81.72 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.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.009854/1.654, allocations: 3.912 MB / 0.5691 GB, free: 81.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/1.656, allocations: 458.8 kB / 0.5695 GB, free: 81.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008404/1.657, allocations: 42.84 kB / 0.5696 GB, free: 81.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/1.66, allocations: 81.02 kB / 0.5696 GB, free: 81.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005382/1.66, allocations: 119.1 kB / 0.5698 GB, free: 81.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.66, allocations: 45.75 kB / 0.5698 GB, free: 81.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00268/1.663, allocations: 1.127 MB / 0.5709 GB, free: 80.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.464e-06/1.663, allocations: 3.312 kB / 0.5709 GB, free: 80.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003557/1.667, allocations: 0.644 MB / 0.5715 GB, free: 80.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.is[3],aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,vfController.x,loadInertia.w) * 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 (117): * Single equations (assignments): 113 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,72.0%) 29,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : aimc.is[1] + aimc.is[2] + aimc.is[3] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; -aimc.is[3] ] might be structurally or numerically singular for variable aimc.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.01023/1.677, allocations: 5.104 MB / 0.5765 GB, free: 79.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0064/1.683, allocations: 2.737 MB / 0.5792 GB, free: 78.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.683, allocations: 0 / 0.5792 GB, free: 78.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004036/1.687, allocations: 1.738 MB / 0.5809 GB, free: 78.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/1.691, allocations: 478.6 kB / 0.5813 GB, free: 78.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0441/1.735, allocations: 25.89 MB / 0.6066 GB, free: 63.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/1.738, allocations: 2.395 MB / 0.609 GB, free: 62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00251/1.741, allocations: 415.1 kB / 0.6094 GB, free: 61.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/1.743, allocations: 1.12 MB / 0.6104 GB, free: 61.03 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/1.743, allocations: 4 kB / 0.6105 GB, free: 61.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1284/1.871, allocations: 53.97 MB / 0.6632 GB, free: 28.49 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/1.872, allocations: 236.1 kB / 0.6634 GB, free: 28.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.442/6.314, allocations: 0 / 0.6634 GB, free: 28.24 MB / 394.7 MB