Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 171.2 MB / 184.2 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.628e-05, allocations: 0 / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 38.78 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.3135, allocations: 70.77 MB / 338.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.3138, allocations: 75.95 kB / 338.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03334/0.3471, allocations: 8.97 MB / 347.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.64e-06/0.3472, allocations: 0 / 347.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.3472, allocations: 11.98 kB / 347.4 MB, free: 9.41 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001349/0.3486, allocations: 0.6152 MB / 348 MB, free: 8.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3486, allocations: 12.03 kB / 348 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.349, allocations: 59.52 kB / 348.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.3495, allocations: 292.3 kB / 348.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.3496, allocations: 28.73 kB / 348.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.3497, allocations: 28 kB / 348.4 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.3504, allocations: 302.3 kB / 348.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3504, allocations: 0 / 348.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.3504, allocations: 12 kB / 348.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.3505, allocations: 8 kB / 348.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.351, allocations: 183.9 kB / 348.9 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.3537, allocations: 1.32 MB / 350.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.354, allocations: 133.2 kB / 350.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.3542, allocations: 57.67 kB / 350.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3542, allocations: 4 kB / 350.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.3542, allocations: 34.56 kB / 350.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 3.141e-06/0.3543, allocations: 0 / 350.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004184/0.3547, allocations: 129.3 kB / 350.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.3548, allocations: 85.11 kB / 350.7 MB, free: 5.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.3552, allocations: 247.3 kB / 350.9 MB, free: 5.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.3552, allocations: 29.7 kB / 351 MB, free: 5.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.3554, allocations: 285.9 kB / 351.2 MB, free: 5.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.3555, allocations: 43.36 kB / 351.3 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.3555, allocations: 4 kB / 351.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3557, allocations: 322.8 kB / 351.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3558, allocations: 51.94 kB / 351.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.3561, allocations: 153.7 kB / 351.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.3563, allocations: 79.94 kB / 351.9 MB, free: 4.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.313e-06/0.3563, allocations: 4 kB / 351.9 MB, free: 4.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000529/0.3568, allocations: 221.2 kB / 352.1 MB, free: 4.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.3569, allocations: 12.39 kB / 352.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.85e-06/0.3569, allocations: 8 kB / 352.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3569, allocations: 4 kB / 352.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.3573, allocations: 67.91 kB / 352.2 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.3573, allocations: 8 kB / 352.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.3576, allocations: 35.67 kB / 352.2 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3577, allocations: 11.94 kB / 352.3 MB, free: 4.227 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.3578, allocations: 128.8 kB / 352.4 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.3579, allocations: 23.72 kB / 352.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.012e-05/0.358, allocations: 33.81 kB / 352.4 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.358, allocations: 4 kB / 352.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3581, allocations: 0 / 352.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.845e-06/0.3581, allocations: 3.984 kB / 352.4 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000958/0.359, allocations: 495.1 kB / 352.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.722e-06/0.3591, allocations: 4.109 kB / 352.9 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.3594, allocations: 47.97 kB / 353 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.196e-06/0.3594, allocations: 0 / 353 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3594, allocations: 8 kB / 353 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.071e-06/0.3594, allocations: 0 / 353 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3594, allocations: 0 / 353 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.36, allocations: 386.9 kB / 353.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3602, allocations: 116.7 kB / 353.5 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.3602, allocations: 0 / 353.5 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.3605, allocations: 19.98 kB / 353.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.3606, allocations: 12.05 kB / 353.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3606, allocations: 8.094 kB / 353.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002692/0.3609, allocations: 191.1 kB / 353.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.3609, allocations: 0 / 353.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005854/0.3615, allocations: 75.75 kB / 353.8 MB, free: 2.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002346/0.3618, allocations: 135 kB / 353.9 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.3622, allocations: 131.8 kB / 354 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.322e-06/0.3622, allocations: 4 kB / 354 MB, free: 2.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3623, allocations: 48.81 kB / 354.1 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3627, allocations: 28.94 kB / 354.1 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3639, allocations: 471.1 kB / 354.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.3644, allocations: 0.7755 MB / 355.3 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.3645, allocations: 19.44 kB / 355.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of SimCode: time 1.454e-06/0.3645, allocations: 4 kB / 355.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of Templates: time 0.1835/0.5479, allocations: 3.104 MB / 358.5 MB, free: 76.35 MB / 298.7 MB