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.SMEE_Rectifier.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.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 194.9 MB / 211.7 MB, free: 2.844 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003501, allocations: 8 kB / 263.9 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 44.5 MB / 308.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.01995/0.138, allocations: 13.58 MB / 321.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.1548, allocations: 7.685 MB / 329.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00336/0.1582, allocations: 87.62 kB / 329.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.1619, allocations: 0.9211 MB / 330.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.168, allocations: 1.472 MB / 332.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007071/0.1751, allocations: 1.729 MB / 333.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007726/0.1829, allocations: 3.426 MB / 337.3 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004594/0.1875, allocations: 2.238 MB / 339.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.1905, allocations: 1.522 MB / 341 MB, free: 188 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003535/0.1941, allocations: 1.762 MB / 342.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009368/0.1951, allocations: 232 kB / 343 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.1972, allocations: 0.5033 MB / 343.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.1984, allocations: 0.8331 MB / 344.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.1999, allocations: 0.8472 MB / 345.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009326/0.2092, allocations: 6.05 MB / 351.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.555e-06/0.2093, allocations: 0 / 351.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.538e-06/0.2093, allocations: 4 kB / 351.2 MB, free: 5.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001404/0.2094, allocations: 0 / 351.2 MB, free: 5.922 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.01379/0.2232, allocations: 4.386 MB / 355.6 MB, free: 1.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2233, allocations: 12.03 kB / 355.6 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007245/0.2306, allocations: 0.9824 MB / 356.6 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/0.2375, allocations: 2.5 MB / 359.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.2379, allocations: 275.3 kB / 359.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.2389, allocations: 363.9 kB / 359.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.2511, allocations: 4.655 MB / 364.4 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.2513, allocations: 4 kB / 364.4 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004906/0.2518, allocations: 148 kB / 364.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/0.252, allocations: 163.1 kB / 364.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.2631, allocations: 3.952 MB / 368.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2415/0.5046, allocations: 15.78 MB / 384.4 MB, free: 50.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008658/0.5133, allocations: 7.866 MB / 392.3 MB, free: 43.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009477/0.5228, allocations: 4.357 MB / 396.7 MB, free: 39.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.5229, allocations: 56.47 kB / 396.7 MB, free: 39.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=188): time 5.732e-06/0.5229, allocations: 0 / 396.7 MB, free: 39.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=192): time 0.01859/0.5415, allocations: 7.418 MB / 404.1 MB, free: 35.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.5416, allocations: 176 kB / 404.3 MB, free: 35.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004011/0.5457, allocations: 2.201 MB / 406.5 MB, free: 33.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.546, allocations: 60.8 kB / 406.6 MB, free: 33.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009704/0.547, allocations: 1.536 MB / 408.1 MB, free: 32.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006735/0.5477, allocations: 0.6529 MB / 408.8 MB, free: 31.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.5479, allocations: 46.78 kB / 408.8 MB, free: 31.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.548, allocations: 400.9 kB / 409.2 MB, free: 31.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.55, allocations: 0.886 MB / 410.1 MB, free: 30.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.5522, allocations: 1.51 MB / 411.6 MB, free: 29.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.5544, allocations: 1.127 MB / 412.7 MB, free: 28.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.5544, allocations: 15.95 kB / 412.7 MB, free: 28.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006269/0.5607, allocations: 3.036 MB / 415.8 MB, free: 25.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.5611, allocations: 0.6065 MB / 416.4 MB, free: 24.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/0.5611, allocations: 23.98 kB / 416.4 MB, free: 24.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.5624, allocations: 469.9 kB / 416.9 MB, free: 24.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/0.5648, allocations: 0.4953 MB / 417.4 MB, free: 23.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/0.5736, allocations: 8.176 MB / 425.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.5759, allocations: 100 kB / 425.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/0.5763, allocations: 91.98 kB / 425.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.5763, allocations: 4 kB / 425.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005881/0.5822, allocations: 2.928 MB / 428.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.639e-05/0.5823, allocations: 20.34 kB / 428.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.5835, allocations: 468.3 kB / 429.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.586, allocations: 0.4914 MB / 429.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00828/0.5943, allocations: 8.225 MB / 437.8 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.5957, allocations: 89.27 kB / 437.9 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.5959, allocations: 96 kB / 438 MB, free: 1.75 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.002344/0.5982, allocations: 1.148 MB / 439.2 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/0.5989, allocations: 253 kB / 439.4 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00674/0.6056, allocations: 2.842 MB / 442.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/0.6057, allocations: 19.95 kB / 442.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.6057, allocations: 4 kB / 442.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.932e-05/0.6058, allocations: 7.969 kB / 442.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.6213, allocations: 6.302 MB / 448.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.6214, allocations: 4 kB / 448.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/0.6233, allocations: 267.6 kB / 448.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.6265, allocations: 0.6654 MB / 449.5 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003531/0.6269, allocations: 47.98 kB / 449.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/0.6459, allocations: 12.84 MB / 462.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.102e-06/0.646, allocations: 4 kB / 462.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009543/0.6555, allocations: 4.117 MB / 466.5 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/0.6573, allocations: 0.5252 MB / 467.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006167/0.6579, allocations: 44 kB / 467.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.6597, allocations: 92.3 kB / 467.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004819/0.6602, allocations: 145.7 kB / 467.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/0.6604, allocations: 59.98 kB / 467.4 MB, free: 3.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003545/0.6639, allocations: 1.486 MB / 468.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.99e-07/0.664, allocations: 0 / 468.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006599/0.6706, allocations: 1.278 MB / 470.2 MB, free: 492 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * 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 simulation (139): * Single equations (assignments): 133 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006984/0.6713, allocations: 234.9 kB / 470.4 MB, free: 264 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.682, allocations: 4.905 MB / 475.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.6821, allocations: 0 / 475.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004387/0.6865, allocations: 2.039 MB / 477.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/0.6902, allocations: 0.6231 MB / 478 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/0.7086, allocations: 8.289 MB / 486.2 MB, free: 132 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004032/0.7127, allocations: 2.53 MB / 488.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009312/0.7137, allocations: 167.4 kB / 488.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.946e-06/0.7137, allocations: 0 / 488.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of Templates: time 0.3849/1.099, allocations: 138.5 MB / 0.6127 GB, free: 60.86 MB / 410.7 MB