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.SMEE_Rectifier.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.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 11.98 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08907, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.02248/0.1116, allocations: 13.58 MB / 322.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.13, allocations: 7.678 MB / 330.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.133, allocations: 83.69 kB / 330.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004173/0.1372, allocations: 0.925 MB / 331.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006367/0.1436, allocations: 1.468 MB / 332.8 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007861/0.1515, allocations: 1.729 MB / 334.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008504/0.16, allocations: 3.429 MB / 338 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00485/0.1649, allocations: 2.242 MB / 340.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/0.1683, allocations: 1.506 MB / 341.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.1724, allocations: 1.747 MB / 343.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.1736, allocations: 232 kB / 343.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.1763, allocations: 0.5034 MB / 344.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.178, allocations: 0.8253 MB / 345 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.1798, allocations: 0.8473 MB / 345.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009927/0.1898, allocations: 6.038 MB / 351.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.1898, allocations: 0 / 351.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1899, allocations: 0 / 351.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002165/0.1901, allocations: 4 kB / 351.9 MB, free: 5.348 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01726/0.2074, allocations: 4.382 MB / 356.3 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.2074, allocations: 8.031 kB / 356.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008377/0.2158, allocations: 0.9863 MB / 357.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008184/0.224, allocations: 2.508 MB / 359.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/0.2244, allocations: 283.3 kB / 360.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.2257, allocations: 371.8 kB / 360.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/0.2403, allocations: 4.612 MB / 365 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.2405, allocations: 11.92 kB / 365 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007281/0.2412, allocations: 148 kB / 365.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.2415, allocations: 155.2 kB / 365.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.2546, allocations: 3.956 MB / 369.3 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2909/0.5456, allocations: 15.76 MB / 385.1 MB, free: 50.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.5571, allocations: 7.869 MB / 392.9 MB, free: 43.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.5679, allocations: 4.336 MB / 397.3 MB, free: 40.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.568, allocations: 56.38 kB / 397.3 MB, free: 40.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=188): time 5.19e-06/0.568, allocations: 0 / 397.3 MB, free: 40.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=192): time 0.02166/0.5897, allocations: 7.406 MB / 404.7 MB, free: 35.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.5899, allocations: 185 kB / 404.9 MB, free: 35.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004096/0.594, allocations: 2.179 MB / 407.1 MB, free: 34.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003438/0.5944, allocations: 61.14 kB / 407.1 MB, free: 34.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.5955, allocations: 1.634 MB / 408.8 MB, free: 32.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006762/0.5962, allocations: 0.6509 MB / 409.4 MB, free: 32.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.5964, allocations: 43.53 kB / 409.5 MB, free: 32.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5966, allocations: 396.5 kB / 409.9 MB, free: 31.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.5987, allocations: 0.8855 MB / 410.7 MB, free: 31.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.6012, allocations: 1.501 MB / 412.2 MB, free: 29.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.6038, allocations: 1.13 MB / 413.4 MB, free: 28.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.6038, allocations: 8 kB / 413.4 MB, free: 28.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.007639/0.6115, allocations: 3.19 MB / 416.6 MB, free: 25.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.6119, allocations: 0.6111 MB / 417.2 MB, free: 24.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/0.6119, allocations: 20 kB / 417.2 MB, free: 24.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.6135, allocations: 479.7 kB / 417.7 MB, free: 23.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003511/0.6171, allocations: 0.4915 MB / 418.2 MB, free: 23.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009591/0.6267, allocations: 8.181 MB / 426.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/0.6296, allocations: 95.86 kB / 426.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004477/0.6301, allocations: 92 kB / 426.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6301, allocations: 4.625 kB / 426.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007081/0.6372, allocations: 2.923 MB / 429.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-05/0.6373, allocations: 27.94 kB / 429.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.6389, allocations: 463.8 kB / 429.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/0.6423, allocations: 495.4 kB / 430.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009847/0.6522, allocations: 8.191 MB / 438.6 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.6549, allocations: 87.97 kB / 438.7 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003604/0.6553, allocations: 91.98 kB / 438.8 MB, free: 1.469 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 254 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002674/0.658, allocations: 1.147 MB / 439.9 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/0.6587, allocations: 252.9 kB / 440.2 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008067/0.6668, allocations: 2.832 MB / 443 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-05/0.6669, allocations: 15.91 kB / 443 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6669, allocations: 0 / 443 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/0.6688, allocations: 0.5174 MB / 443.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/0.6695, allocations: 36 kB / 443.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.6716, allocations: 91.94 kB / 443.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004467/0.6721, allocations: 137.8 kB / 443.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01101/0.6831, allocations: 2.912 MB / 446.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008075/0.6913, allocations: 3.293 MB / 450 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002288/0.6936, allocations: 0.933 MB / 450.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003539/0.6972, allocations: 1.478 MB / 452.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of Backend: time 6.11e-07/0.6972, allocations: 0 / 452.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0111/0.7083, allocations: 4.357 MB / 456.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of SimCode: time 0.02036/0.7287, allocations: 8.812 MB / 465.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of Templates: time 0.1349/0.8637, allocations: 48.69 MB / 0.5022 GB, free: 5.672 MB / 394.7 MB