Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.809/1.809, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.102, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.5495, allocations: 70.85 MB / 343.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/0.5499, allocations: 89.78 kB / 343.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05662/0.6066, allocations: 9.001 MB / 352.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6066, allocations: 0 / 352.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.6067, allocations: 11.19 kB / 352.6 MB, free: 11.05 MB / 282.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.001994/0.6087, allocations: 0.6571 MB / 353.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6088, allocations: 8.031 kB / 353.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.6092, allocations: 55.5 kB / 353.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.6099, allocations: 288.7 kB / 353.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/0.61, allocations: 23.09 kB / 353.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.6101, allocations: 27.31 kB / 353.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.611, allocations: 326.7 kB / 353.9 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.6111, allocations: 0 / 353.9 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.6111, allocations: 13.75 kB / 353.9 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.6111, allocations: 8 kB / 354 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.6119, allocations: 211.2 kB / 354.2 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.615, allocations: 1.321 MB / 355.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.6155, allocations: 151.1 kB / 355.6 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.6155, allocations: 0 / 355.6 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.6155, allocations: 41.81 kB / 355.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.6156, allocations: 0 / 355.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007934/0.6164, allocations: 201.9 kB / 355.9 MB, free: 8.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.6164, allocations: 88.84 kB / 356 MB, free: 7.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.6169, allocations: 269.6 kB / 356.2 MB, free: 7.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.6169, allocations: 29.64 kB / 356.2 MB, free: 7.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.6172, allocations: 231.7 kB / 356.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.868e-05/0.6173, allocations: 50.11 kB / 356.5 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.6174, allocations: 7.125 kB / 356.5 MB, free: 7.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.6176, allocations: 333.6 kB / 356.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.6181, allocations: 61.78 kB / 356.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.6187, allocations: 164.9 kB / 357.1 MB, free: 6.887 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.6192, allocations: 93.25 kB / 357.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.6193, allocations: 0 / 357.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00136/0.6206, allocations: 275.8 kB / 357.4 MB, free: 6.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.6207, allocations: 8.625 kB / 357.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6208, allocations: 0 / 357.4 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.393e-05/0.6208, allocations: 8 kB / 357.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.6217, allocations: 70.83 kB / 357.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.6218, allocations: 8.016 kB / 357.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/0.6225, allocations: 42.88 kB / 357.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.6226, allocations: 19.22 kB / 357.6 MB, free: 6.457 MB / 282.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 () * Number of clocked 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.000422/0.623, allocations: 145 kB / 357.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.6233, allocations: 27.67 kB / 357.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.6234, allocations: 28.8 kB / 357.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.6234, allocations: 0 / 357.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.6235, allocations: 0 / 357.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6235, allocations: 4 kB / 357.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.6256, allocations: 0.5091 MB / 358.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.6257, allocations: 0 / 358.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.6263, allocations: 35.98 kB / 358.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.6263, allocations: 0 / 358.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.6264, allocations: 3.562 kB / 358.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.6264, allocations: 11.97 kB / 358.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6264, allocations: 0 / 358.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.6276, allocations: 398.7 kB / 358.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.6279, allocations: 111.9 kB / 358.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/0.628, allocations: 0 / 358.9 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.6285, allocations: 19.67 kB / 358.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.6287, allocations: 7.984 kB / 358.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.6287, allocations: 15.72 kB / 358.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004985/0.6292, allocations: 202.3 kB / 359.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.6293, allocations: 0 / 359.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001127/0.6304, allocations: 78.94 kB / 359.2 MB, free: 4.988 MB / 282.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 () * Number of clocked 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.0003139/0.6308, allocations: 115 kB / 359.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008934/0.6317, allocations: 156.8 kB / 359.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6317, allocations: 4.062 kB / 359.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.6321, allocations: 62.09 kB / 359.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.6328, allocations: 27.41 kB / 359.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.6354, allocations: 0.7825 MB / 360.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.6361, allocations: 0.7755 MB / 361.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.6365, allocations: 30.27 kB / 361.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.6367, allocations: 19.44 kB / 361.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of SimCode: time 1.934e-06/0.6367, allocations: 4 kB / 361.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of Templates: time 0.01088/0.6476, allocations: 2.025 MB / 363.2 MB, free: 1.035 MB / 282.7 MB