Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Core.B|Core.Hstat|Core.MagRel|Winding.i",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 2.246/2.246, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004966, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.645, allocations: 81.97 MB / 391 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.6454, allocations: 89.28 kB / 391.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0415/0.6869, allocations: 9.262 MB / 400.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.687, allocations: 0 / 400.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.687, allocations: 7.906 kB / 400.4 MB, free: 14.58 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001816/0.6888, allocations: 0.6436 MB / 401 MB, free: 14.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6889, allocations: 11.62 kB / 401 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.689, allocations: 35.08 kB / 401.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.6895, allocations: 325.4 kB / 401.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.6896, allocations: 49.58 kB / 401.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/0.6899, allocations: 38.61 kB / 401.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.6908, allocations: 320.4 kB / 401.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6908, allocations: 0 / 401.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.6909, allocations: 11.25 kB / 401.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.6909, allocations: 7.812 kB / 401.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6919, allocations: 318 kB / 402.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.6942, allocations: 1.172 MB / 403.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.6951, allocations: 303 kB / 403.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.6951, allocations: 7.172 kB / 403.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.6952, allocations: 34.25 kB / 403.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.635e-06/0.6952, allocations: 3.938 kB / 403.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.01973/0.7149, allocations: 2.826 MB / 406.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.715, allocations: 84.95 kB / 406.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.7155, allocations: 284.9 kB / 406.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.774e-05/0.7157, allocations: 29.2 kB / 406.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.7158, allocations: 166.1 kB / 407 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.7159, allocations: 148.8 kB / 407.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.716, allocations: 7.375 kB / 407.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.716, allocations: 340.8 kB / 407.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.7167, allocations: 171 kB / 407.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/0.7174, allocations: 233.9 kB / 407.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.7181, allocations: 184.4 kB / 408.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7181, allocations: 3.938 kB / 408.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001646/0.7198, allocations: 0.4966 MB / 408.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.7198, allocations: 3.844 kB / 408.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.7199, allocations: 3.906 kB / 408.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.7199, allocations: 0 / 408.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.721, allocations: 131.5 kB / 408.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.721, allocations: 3.875 kB / 408.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.7218, allocations: 38.45 kB / 408.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.7218, allocations: 11.77 kB / 408.8 MB, free: 10.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0002771/0.7221, allocations: 149 kB / 408.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.7222, allocations: 34.92 kB / 408.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.7261, allocations: 0.7307 MB / 409.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.7261, allocations: 7.859 kB / 409.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.7261, allocations: 0 / 409.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7262, allocations: 0 / 409.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/0.7314, allocations: 1.323 MB / 411 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.7315, allocations: 4 kB / 411 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/0.7324, allocations: 96.44 kB / 411.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002987/0.7354, allocations: 290 kB / 411.4 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.792e-05/0.7355, allocations: 6.812 kB / 411.4 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005976/0.7415, allocations: 2.322 MB / 413.7 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7416, allocations: 0 / 413.7 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.7453, allocations: 1.046 MB / 414.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.7457, allocations: 149.2 kB / 414.9 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.7458, allocations: 7.75 kB / 414.9 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007706/0.7466, allocations: 42.59 kB / 414.9 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.7468, allocations: 47.14 kB / 415 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.7468, allocations: 7.75 kB / 415 MB, free: 7.434 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002929/0.7471, allocations: 215.3 kB / 415.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7471, allocations: 0 / 415.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008088/0.7479, allocations: 125.8 kB / 415.3 MB, free: 7.324 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003559/0.7483, allocations: 156.6 kB / 415.5 MB, free: 7.207 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.7498, allocations: 439.3 kB / 415.9 MB, free: 7.137 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7498, allocations: 320 / 415.9 MB, free: 7.137 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.7509, allocations: 395.4 kB / 416.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.7515, allocations: 35.16 kB / 416.3 MB, free: 6.957 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.7541, allocations: 1.221 MB / 417.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.7544, allocations: 0.7902 MB / 418.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004117/0.7548, allocations: 50.03 kB / 418.4 MB, free: 5.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.7551, allocations: 38.59 kB / 418.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7551, allocations: 0 / 418.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of Templates: time 0.01511/0.7702, allocations: 5.893 MB / 424.3 MB, free: 2.383 MB / 314.7 MB