Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004924, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 44.51 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5348, allocations: 81.96 MB / 390.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.5351, allocations: 88.45 kB / 391 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04228/0.5774, allocations: 9.249 MB / 400.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5775, allocations: 1.312 kB / 400.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.5775, allocations: 5.094 kB / 400.3 MB, free: 13.99 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.001917/0.5794, allocations: 0.6462 MB / 400.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5795, allocations: 7.875 kB / 400.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.5796, allocations: 38.95 kB / 401 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.5801, allocations: 328.3 kB / 401.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.5802, allocations: 48.14 kB / 401.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.5805, allocations: 42.8 kB / 401.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/0.5814, allocations: 325.2 kB / 401.7 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5814, allocations: 7.922 kB / 401.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.5815, allocations: 7.188 kB / 401.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.5815, allocations: 11.75 kB / 401.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.5825, allocations: 311.3 kB / 402 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.5849, allocations: 1.166 MB / 403.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.5859, allocations: 300.9 kB / 403.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.586, allocations: 10.89 kB / 403.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.586, allocations: 38.53 kB / 403.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/0.586, allocations: 0 / 403.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.02004/0.6061, allocations: 2.832 MB / 406.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.6062, allocations: 81.02 kB / 406.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/0.6067, allocations: 282 kB / 406.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/0.6068, allocations: 36.8 kB / 406.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.6069, allocations: 219.1 kB / 407 MB, free: 10.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.607, allocations: 153.3 kB / 407.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.6071, allocations: 3.125 kB / 407.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.6072, allocations: 326 kB / 407.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/0.6078, allocations: 174.8 kB / 407.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.6085, allocations: 225.4 kB / 407.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.6092, allocations: 186.9 kB / 408 MB, free: 10.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6093, allocations: 4 kB / 408 MB, free: 10.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001615/0.6109, allocations: 495.8 kB / 408.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6109, allocations: 7.812 kB / 408.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6109, allocations: 0 / 408.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.611, allocations: 3.812 kB / 408.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.612, allocations: 120.7 kB / 408.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.6121, allocations: 7.891 kB / 408.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.6128, allocations: 33.98 kB / 408.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.6129, allocations: 15.42 kB / 408.7 MB, free: 10.26 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.0002555/0.6131, allocations: 156.9 kB / 408.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.6133, allocations: 35.02 kB / 408.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.6171, allocations: 0.7208 MB / 409.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.6172, allocations: 7.75 kB / 409.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6172, allocations: 4 kB / 409.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.6172, allocations: 3.984 kB / 409.6 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.6224, allocations: 1.321 MB / 410.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6225, allocations: 3.938 kB / 410.9 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.6233, allocations: 97.28 kB / 411 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/0.6264, allocations: 285.5 kB / 411.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.6265, allocations: 19.02 kB / 411.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005954/0.6324, allocations: 2.317 MB / 413.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6325, allocations: 0 / 413.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/0.6363, allocations: 1.053 MB / 414.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.6366, allocations: 142.5 kB / 414.8 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6367, allocations: 9.5 kB / 414.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007554/0.6375, allocations: 38.11 kB / 414.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.6377, allocations: 42.52 kB / 414.9 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.6377, allocations: 15.55 kB / 415 MB, free: 7.082 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.6381, allocations: 213.3 kB / 415.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6381, allocations: 0 / 415.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007926/0.6389, allocations: 126.5 kB / 415.3 MB, free: 6.973 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.0003449/0.6392, allocations: 154.5 kB / 415.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.6408, allocations: 449.4 kB / 415.9 MB, free: 6.781 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6408, allocations: 3.938 kB / 415.9 MB, free: 6.777 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6418, allocations: 389.8 kB / 416.3 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.6424, allocations: 33.72 kB / 416.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.645, allocations: 1.249 MB / 417.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.6453, allocations: 0.7913 MB / 418.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.6456, allocations: 46.16 kB / 418.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6456, allocations: 0 / 418.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of Templates: time 0.01151/0.6572, allocations: 5.631 MB / 424 MB, free: 2.137 MB / 314.7 MB