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.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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5196/0.6267, allocations: 103.1 MB / 412.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.6271, allocations: 94.09 kB / 412.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3421/0.9692, allocations: 79.41 MB / 491.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.9693, allocations: 4 kB / 491.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003606/0.9696, allocations: 75.94 kB / 491.7 MB, free: 12.62 MB / 378.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.01593/0.9856, allocations: 3.45 MB / 495.1 MB, free: 9.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.9857, allocations: 16.02 kB / 495.2 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006302/0.992, allocations: 0.7222 MB / 495.9 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/1.005, allocations: 3.303 MB / 499.2 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/1.005, allocations: 230.2 kB / 499.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/1.007, allocations: 315.9 kB / 499.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/1.021, allocations: 4.167 MB / 0.4921 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/1.021, allocations: 4 kB / 0.4921 GB, free: 180 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009654/1.022, allocations: 136 kB / 0.4922 GB, free: 44 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/1.023, allocations: 142.4 kB / 0.4923 GB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/1.035, allocations: 3.414 MB / 0.4957 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03747/1.073, allocations: 13.24 MB / 0.5086 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/1.085, allocations: 6.914 MB / 0.5154 GB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009683/1.095, allocations: 3.223 MB / 0.5185 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/1.095, allocations: 55.86 kB / 0.5186 GB, free: 3.727 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 4.729e-06/1.095, allocations: 0 / 0.5186 GB, free: 3.727 MB / 410.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.3124/1.407, allocations: 7.333 MB / 0.5257 GB, free: 87.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/1.407, allocations: 68.22 kB / 0.5258 GB, free: 87.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/1.412, allocations: 1.649 MB / 0.5274 GB, free: 87.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004052/1.412, allocations: 56.23 kB / 0.5275 GB, free: 87.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/1.413, allocations: 1.337 MB / 0.5288 GB, free: 86.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/1.414, allocations: 0.551 MB / 0.5293 GB, free: 86.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/1.414, allocations: 34.16 kB / 0.5293 GB, free: 86.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/1.414, allocations: 385.9 kB / 0.5297 GB, free: 86.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.417, allocations: 0.8063 MB / 0.5305 GB, free: 86.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003119/1.42, allocations: 1.269 MB / 0.5317 GB, free: 85.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/1.423, allocations: 1.051 MB / 0.5327 GB, free: 85.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.629e-05/1.423, allocations: 7.484 kB / 0.5328 GB, free: 85.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.008606/1.432, allocations: 2.764 MB / 0.5355 GB, free: 85.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/1.432, allocations: 11.31 kB / 0.5355 GB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/1.432, allocations: 13.41 kB / 0.5355 GB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00266/1.435, allocations: 0.5851 MB / 0.5361 GB, free: 85.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/1.438, allocations: 374.3 kB / 0.5364 GB, free: 85.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/1.453, allocations: 8.77 MB / 0.545 GB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/1.456, allocations: 82.47 kB / 0.5451 GB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/1.456, allocations: 79.14 kB / 0.5451 GB, free: 81.61 MB / 410.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.003035/1.459, allocations: 1.023 MB / 0.5461 GB, free: 81.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006553/1.46, allocations: 194.5 kB / 0.5463 GB, free: 81.39 MB / 410.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.007927/1.468, allocations: 2.693 MB / 0.5489 GB, free: 81.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.468, allocations: 16.03 kB / 0.549 GB, free: 81.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.933e-05/1.468, allocations: 7.469 kB / 0.549 GB, free: 81.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/1.468, allocations: 8.109 kB / 0.549 GB, free: 81.04 MB / 410.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.0223/1.491, allocations: 5.82 MB / 0.5547 GB, free: 80.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.286e-05/1.491, allocations: 6.859 kB / 0.5547 GB, free: 80.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003371/1.494, allocations: 251.1 kB / 0.5549 GB, free: 80.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003992/1.498, allocations: 0.5686 MB / 0.5555 GB, free: 80.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004786/1.499, allocations: 41.91 kB / 0.5555 GB, free: 80.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02302/1.522, allocations: 9.995 MB / 0.5653 GB, free: 74.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.522, allocations: 6.844 kB / 0.5653 GB, free: 74.08 MB / 410.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.01469/1.536, allocations: 3.814 MB / 0.569 GB, free: 72.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.539, allocations: 471.7 kB / 0.5694 GB, free: 71.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.54, allocations: 33.5 kB / 0.5695 GB, free: 71.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/1.543, allocations: 83.8 kB / 0.5696 GB, free: 71.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005957/1.544, allocations: 120.3 kB / 0.5697 GB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/1.544, allocations: 44.44 kB / 0.5697 GB, free: 71.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003436/1.547, allocations: 1.138 MB / 0.5708 GB, free: 71.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.547, allocations: 0 / 0.5708 GB, free: 71.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005292/1.553, allocations: 0.6401 MB / 0.5714 GB, free: 71.3 MB / 410.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 Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/1.554, allocations: 351.2 kB / 0.5718 GB, free: 71.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/1.564, allocations: 2.739 MB / 0.5745 GB, free: 69.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.564, allocations: 0 / 0.5745 GB, free: 69.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006481/1.571, allocations: 1.738 MB / 0.5762 GB, free: 68.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005917/1.577, allocations: 491.5 kB / 0.5766 GB, free: 68.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/1.603, allocations: 7.069 MB / 0.5835 GB, free: 64.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00614/1.609, allocations: 2.346 MB / 0.5858 GB, free: 63.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/1.61, allocations: 139.8 kB / 0.5859 GB, free: 63.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/1.61, allocations: 0 / 0.5859 GB, free: 63.69 MB / 410.7 MB Notification: Performance of Templates: time 0.5109/2.121, allocations: 99.08 MB / 0.6827 GB, free: 85.29 MB / 410.7 MB