Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 4 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.08821, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5282, allocations: 70.47 MB / 343.1 MB, free: 3 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5285, allocations: 83.69 kB / 343.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03101/0.5596, allocations: 6.73 MB / 349.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5596, allocations: 3.938 kB / 349.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5596, allocations: 4 kB / 349.9 MB, free: 13.24 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001258/0.5609, allocations: 0.563 MB / 350.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.561, allocations: 12.03 kB / 350.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.5611, allocations: 31.62 kB / 350.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.5615, allocations: 256.8 kB / 350.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.5616, allocations: 23.27 kB / 350.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.5616, allocations: 25.31 kB / 350.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.5624, allocations: 248 kB / 351.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5625, allocations: 4 kB / 351.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.5625, allocations: 7.125 kB / 351.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.5625, allocations: 8 kB / 351.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/0.5633, allocations: 207.1 kB / 351.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.5656, allocations: 1.004 MB / 352.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.5663, allocations: 196.9 kB / 352.5 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.5665, allocations: 81.3 kB / 352.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.5666, allocations: 35.91 kB / 352.6 MB, free: 10.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.286e-06/0.5666, allocations: 0 / 352.6 MB, free: 10.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.01052/0.5771, allocations: 1.487 MB / 354.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.5772, allocations: 55.41 kB / 354.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.5776, allocations: 225.5 kB / 354.3 MB, free: 9.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.5776, allocations: 32.7 kB / 354.4 MB, free: 9.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.5778, allocations: 192.3 kB / 354.6 MB, free: 9.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.5779, allocations: 102 kB / 354.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.578, allocations: 10.06 kB / 354.7 MB, free: 8.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5781, allocations: 335.9 kB / 355 MB, free: 8.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.5786, allocations: 107.9 kB / 355.1 MB, free: 8.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.579, allocations: 158.6 kB / 355.3 MB, free: 8.406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.5795, allocations: 125.8 kB / 355.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5795, allocations: 0 / 355.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00349/0.583, allocations: 0.5143 MB / 355.9 MB, free: 7.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5831, allocations: 8.625 kB / 355.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.5831, allocations: 4 kB / 355.9 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00492/0.588, allocations: 291.1 kB / 356.2 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.5886, allocations: 55.66 kB / 356.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/0.5944, allocations: 2.675 MB / 358.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.5949, allocations: 16.58 kB / 358.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.595, allocations: 10.81 kB / 359 MB, free: 5.133 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.5952, allocations: 147.9 kB / 359.1 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.5953, allocations: 23.78 kB / 359.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/0.5988, allocations: 0.4956 MB / 359.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.5988, allocations: 4 kB / 359.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5988, allocations: 0 / 359.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5989, allocations: 3.984 kB / 359.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.5995, allocations: 381.4 kB / 360 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5995, allocations: 0 / 360 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.5999, allocations: 35.97 kB / 360 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004811/0.6047, allocations: 303.6 kB / 360.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.6048, allocations: 15.92 kB / 360.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00569/0.6105, allocations: 2.662 MB / 363 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6106, allocations: 64 / 363 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.6146, allocations: 0.7053 MB / 363.7 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.6148, allocations: 126.8 kB / 363.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.6149, allocations: 3.688 kB / 363.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.6153, allocations: 11.5 kB / 363.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6154, allocations: 35.25 kB / 363.9 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.6155, allocations: 15.67 kB / 363.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.6157, allocations: 165.1 kB / 364.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6157, allocations: 0 / 364.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007214/0.6165, allocations: 99.62 kB / 364.2 MB, free: 0.5391 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002612/0.6167, allocations: 126.1 kB / 364.3 MB, free: 420 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.6181, allocations: 429.3 kB / 364.7 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6181, allocations: 0 / 364.7 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.6189, allocations: 305.4 kB / 365 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.6193, allocations: 23.52 kB / 365 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.6212, allocations: 0.8001 MB / 365.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.6216, allocations: 0.7794 MB / 366.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.6218, allocations: 22.27 kB / 366.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.6219, allocations: 15.44 kB / 366.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6219, allocations: 0 / 366.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Templates: time 0.01445/0.6364, allocations: 4.605 MB / 371.2 MB, free: 9.602 MB / 298.7 MB