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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003534, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08965, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01765/0.1074, allocations: 10.38 MB / 319.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00985/0.1173, allocations: 3.999 MB / 323.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.1191, allocations: 59.75 kB / 323.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.1221, allocations: 0.7423 MB / 324.3 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004605/0.1267, allocations: 1.106 MB / 325.4 MB, free: 16 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.1295, allocations: 0.5807 MB / 325.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006579/0.1361, allocations: 2.722 MB / 328.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004205/0.1403, allocations: 2.181 MB / 330.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.1428, allocations: 1.203 MB / 332 MB, free: 9.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.1459, allocations: 1.463 MB / 333.5 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007147/0.1467, allocations: 200 kB / 333.7 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.1483, allocations: 367.7 kB / 334.1 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.1494, allocations: 0.7047 MB / 334.8 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.1506, allocations: 0.7226 MB / 335.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.1588, allocations: 5.349 MB / 340.8 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1588, allocations: 0 / 340.8 MB, free: 460 kB / 282.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1588, allocations: 0 / 340.8 MB, free: 460 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001563/0.159, allocations: 0 / 340.8 MB, free: 460 kB / 282.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.01465/0.1737, allocations: 3.657 MB / 344.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1737, allocations: 11.97 kB / 344.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006904/0.1806, allocations: 0.8154 MB / 345.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006139/0.1868, allocations: 2.134 MB / 347.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.1871, allocations: 234.2 kB / 347.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008142/0.1879, allocations: 308 kB / 348 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.1992, allocations: 4.184 MB / 352.2 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.529e-05/0.1994, allocations: 3.906 kB / 352.2 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004666/0.1998, allocations: 128 kB / 352.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.2001, allocations: 154.3 kB / 352.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.2103, allocations: 3.589 MB / 356 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0305/0.2408, allocations: 13.2 MB / 369.2 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.26/0.5009, allocations: 6.895 MB / 376.1 MB, free: 52.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009152/0.5101, allocations: 3.182 MB / 379.3 MB, free: 51.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.5102, allocations: 45.81 kB / 379.4 MB, free: 51.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=131): time 6.442e-06/0.5102, allocations: 0 / 379.4 MB, free: 51.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=135): time 0.01947/0.5297, allocations: 5.79 MB / 385.2 MB, free: 48.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.5298, allocations: 66.47 kB / 385.2 MB, free: 48.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003564/0.5334, allocations: 1.626 MB / 386.8 MB, free: 47.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.5337, allocations: 57.33 kB / 386.9 MB, free: 47.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.5348, allocations: 1.377 MB / 388.3 MB, free: 46.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005668/0.5354, allocations: 473.3 kB / 388.7 MB, free: 46.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.5355, allocations: 35.38 kB / 388.8 MB, free: 46.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5357, allocations: 370.6 kB / 389.1 MB, free: 45.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.5376, allocations: 0.6946 MB / 389.8 MB, free: 45.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.5399, allocations: 1.121 MB / 390.9 MB, free: 44.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.5424, allocations: 0.8961 MB / 391.8 MB, free: 44.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.5424, allocations: 5.312 kB / 391.8 MB, free: 44.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006348/0.5488, allocations: 2.401 MB / 394.3 MB, free: 43.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.5489, allocations: 11.88 kB / 394.3 MB, free: 43.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.5489, allocations: 15.89 kB / 394.3 MB, free: 43.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.55, allocations: 268.2 kB / 394.5 MB, free: 43.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.5527, allocations: 383.1 kB / 394.9 MB, free: 43.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.5592, allocations: 5.754 MB / 400.7 MB, free: 38.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.5613, allocations: 80.33 kB / 400.7 MB, free: 38.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.5616, allocations: 72.16 kB / 400.8 MB, free: 38.26 MB / 314.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 (188): * Single equations (assignments): 184 * 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 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002328/0.5639, allocations: 1.001 MB / 401.8 MB, free: 37.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/0.5645, allocations: 181.2 kB / 402 MB, free: 37.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005675/0.5702, allocations: 2.268 MB / 404.3 MB, free: 36.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/0.5702, allocations: 7.969 kB / 404.3 MB, free: 36.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.5702, allocations: 7.875 kB / 404.3 MB, free: 36.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.5714, allocations: 411.5 kB / 404.7 MB, free: 35.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/0.5719, allocations: 27.91 kB / 404.7 MB, free: 35.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.5734, allocations: 80.91 kB / 404.8 MB, free: 35.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.5737, allocations: 106.8 kB / 404.9 MB, free: 35.64 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007384/0.5811, allocations: 2.222 MB / 407.1 MB, free: 34.35 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0055/0.5866, allocations: 2.581 MB / 409.7 MB, free: 31.75 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001548/0.5882, allocations: 0.7307 MB / 410.4 MB, free: 31.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002126/0.5903, allocations: 1.115 MB / 411.5 MB, free: 29.91 MB / 314.7 MB Notification: Performance of Backend: time 7.01e-07/0.5904, allocations: 4 kB / 411.5 MB, free: 29.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004298/0.5947, allocations: 1.766 MB / 413.3 MB, free: 28.11 MB / 314.7 MB Notification: Performance of SimCode: time 0.01317/0.6079, allocations: 7.263 MB / 420.6 MB, free: 20.8 MB / 314.7 MB Notification: Performance of Templates: time 0.07498/0.6829, allocations: 28.63 MB / 449.2 MB, free: 8.215 MB / 330.7 MB