Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.871/1.871, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003592, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08326/0.08364, allocations: 44.5 MB / 308.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3614/0.4451, allocations: 103.1 MB / 411.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.4454, allocations: 89.44 kB / 411.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2769/0.7223, allocations: 79.42 MB / 491.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.468e-06/0.7224, allocations: 0 / 491.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000298/0.7227, allocations: 71.94 kB / 491.2 MB, free: 14.5 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.01296/0.7357, allocations: 3.454 MB / 494.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7357, allocations: 8.031 kB / 494.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.7412, allocations: 0.7222 MB / 495.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.7527, allocations: 3.299 MB / 498.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.7531, allocations: 234.2 kB / 498.9 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.7543, allocations: 307.9 kB / 499.2 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/0.7668, allocations: 4.144 MB / 0.4915 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.7669, allocations: 4 kB / 0.4915 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007885/0.7677, allocations: 132 kB / 0.4917 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.7679, allocations: 146.3 kB / 0.4918 GB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.7783, allocations: 3.414 MB / 0.4951 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03199/0.8104, allocations: 13.24 MB / 0.5081 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.8206, allocations: 6.919 MB / 0.5148 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007994/0.8287, allocations: 3.218 MB / 0.518 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.8288, allocations: 51.86 kB / 0.518 GB, free: 5.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 4.59e-06/0.8288, allocations: 0 / 0.518 GB, free: 5.648 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.2521/1.081, allocations: 7.343 MB / 0.5252 GB, free: 87.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/1.081, allocations: 76.33 kB / 0.5253 GB, free: 87.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/1.084, allocations: 1.461 MB / 0.5267 GB, free: 87.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002802/1.084, allocations: 51.67 kB / 0.5267 GB, free: 87.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008422/1.085, allocations: 1.339 MB / 0.528 GB, free: 86.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005353/1.086, allocations: 0.5418 MB / 0.5286 GB, free: 86.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.086, allocations: 44.31 kB / 0.5286 GB, free: 86.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/1.086, allocations: 382.7 kB / 0.529 GB, free: 86.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/1.088, allocations: 0.8065 MB / 0.5298 GB, free: 86.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/1.09, allocations: 1.262 MB / 0.531 GB, free: 85.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/1.093, allocations: 1.049 MB / 0.532 GB, free: 85.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.093, allocations: 4.344 kB / 0.532 GB, free: 85.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006534/1.099, allocations: 2.763 MB / 0.5347 GB, free: 85.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/1.099, allocations: 13.88 kB / 0.5347 GB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/1.099, allocations: 13.62 kB / 0.5348 GB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/1.101, allocations: 0.5807 MB / 0.5353 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.103, allocations: 381.8 kB / 0.5357 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/1.116, allocations: 8.761 MB / 0.5442 GB, free: 81.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/1.118, allocations: 93.86 kB / 0.5443 GB, free: 81.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/1.119, allocations: 74.22 kB / 0.5444 GB, free: 81.53 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.002621/1.121, allocations: 1.032 MB / 0.5454 GB, free: 81.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/1.122, allocations: 185.9 kB / 0.5456 GB, free: 81.32 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.00609/1.128, allocations: 2.687 MB / 0.5482 GB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/1.128, allocations: 18.06 kB / 0.5482 GB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/1.128, allocations: 11.77 kB / 0.5482 GB, free: 80.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/1.128, allocations: 7.781 kB / 0.5482 GB, free: 80.96 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.01278/1.141, allocations: 5.827 MB / 0.5539 GB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.141, allocations: 6.594 kB / 0.5539 GB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.143, allocations: 247.4 kB / 0.5542 GB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/1.145, allocations: 0.5625 MB / 0.5547 GB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/1.145, allocations: 44.78 kB / 0.5548 GB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/1.157, allocations: 10.01 MB / 0.5645 GB, free: 74.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/1.158, allocations: 9.062 kB / 0.5646 GB, free: 74.31 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.007593/1.165, allocations: 3.903 MB / 0.5684 GB, free: 72.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.166, allocations: 468.1 kB / 0.5688 GB, free: 72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/1.167, allocations: 33.81 kB / 0.5688 GB, free: 71.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.168, allocations: 84.72 kB / 0.5689 GB, free: 71.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003514/1.169, allocations: 124.3 kB / 0.569 GB, free: 71.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.169, allocations: 49.3 kB / 0.5691 GB, free: 71.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002388/1.171, allocations: 1.127 MB / 0.5702 GB, free: 71.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.385e-06/1.171, allocations: 2.312 kB / 0.5702 GB, free: 71.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003371/1.175, allocations: 0.6406 MB / 0.5708 GB, free: 71.41 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.0007626/1.176, allocations: 360.9 kB / 0.5712 GB, free: 71.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005557/1.181, allocations: 2.733 MB / 0.5738 GB, free: 69.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.579e-06/1.181, allocations: 0 / 0.5738 GB, free: 69.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/1.185, allocations: 1.751 MB / 0.5755 GB, free: 68.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.187, allocations: 472.4 kB / 0.576 GB, free: 68.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.201, allocations: 7.068 MB / 0.5829 GB, free: 64.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002755/1.204, allocations: 2.343 MB / 0.5852 GB, free: 63.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007382/1.204, allocations: 142.9 kB / 0.5853 GB, free: 63.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.65e-06/1.204, allocations: 0 / 0.5853 GB, free: 63.79 MB / 410.7 MB Notification: Performance of Templates: time 0.3575/1.562, allocations: 99.07 MB / 0.6821 GB, free: 86.59 MB / 410.7 MB