Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.844/1.844, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 44.52 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.4895, allocations: 81.96 MB / 390.4 MB, free: 18.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4898, allocations: 88.08 kB / 390.5 MB, free: 18.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03934/0.5292, allocations: 9.254 MB / 399.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5293, allocations: 0 / 399.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.975e-05/0.5293, allocations: 5 kB / 399.8 MB, free: 17.92 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.002284/0.5316, allocations: 0.6433 MB / 400.4 MB, free: 17.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.5317, allocations: 9.719 kB / 400.4 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.5318, allocations: 37.17 kB / 400.5 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.5324, allocations: 326.1 kB / 400.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/0.5325, allocations: 50.31 kB / 400.8 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.5327, allocations: 40.02 kB / 400.9 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.5335, allocations: 322.1 kB / 401.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5335, allocations: 0 / 401.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.5336, allocations: 11.06 kB / 401.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.302e-06/0.5336, allocations: 15.62 kB / 401.2 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.5345, allocations: 313.7 kB / 401.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.5366, allocations: 1.168 MB / 402.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.5374, allocations: 303.8 kB / 403 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.5375, allocations: 3.875 kB / 403 MB, free: 16.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.5375, allocations: 34.25 kB / 403 MB, free: 16.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.533e-06/0.5376, allocations: 0 / 403 MB, free: 16.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.01432/0.5519, allocations: 2.83 MB / 405.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.552, allocations: 83.56 kB / 405.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.5524, allocations: 261.7 kB / 406.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.5526, allocations: 29.14 kB / 406.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.5527, allocations: 222.4 kB / 406.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.5529, allocations: 144.6 kB / 406.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.553, allocations: 10.47 kB / 406.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.5531, allocations: 330.7 kB / 406.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.5537, allocations: 171.1 kB / 407.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.5542, allocations: 230.2 kB / 407.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.5549, allocations: 186.4 kB / 407.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-06/0.5549, allocations: 0 / 407.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001334/0.5562, allocations: 491.1 kB / 408 MB, free: 14.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5563, allocations: 7.906 kB / 408 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.171e-06/0.5563, allocations: 3.875 kB / 408 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5563, allocations: 0 / 408 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.5571, allocations: 128.8 kB / 408.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5571, allocations: 3.938 kB / 408.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.5577, allocations: 37.83 kB / 408.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.5578, allocations: 19.23 kB / 408.2 MB, free: 14.75 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.0002542/0.5581, allocations: 147 kB / 408.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.5582, allocations: 35.05 kB / 408.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.5611, allocations: 0.7245 MB / 409.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.5611, allocations: 7.812 kB / 409.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.5611, allocations: 0 / 409.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5612, allocations: 3.984 kB / 409.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.5653, allocations: 1.325 MB / 410.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.041e-06/0.5653, allocations: 0 / 410.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.5659, allocations: 96.81 kB / 410.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/0.5681, allocations: 287 kB / 410.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/0.5683, allocations: 11.5 kB / 410.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005072/0.5734, allocations: 2.33 MB / 413.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5734, allocations: 0 / 413.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.5766, allocations: 1.063 MB / 414.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.5769, allocations: 145 kB / 414.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/0.577, allocations: 14.95 kB / 414.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.5777, allocations: 35.22 kB / 414.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.5778, allocations: 35.14 kB / 414.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.5779, allocations: 23.14 kB / 414.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002648/0.5782, allocations: 208.7 kB / 414.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.34e-07/0.5782, allocations: 0 / 414.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007804/0.579, allocations: 126.3 kB / 414.7 MB, free: 11.44 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.0003091/0.5793, allocations: 152.2 kB / 414.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.5805, allocations: 443.5 kB / 415.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.441e-06/0.5806, allocations: 320 / 415.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008915/0.5815, allocations: 391.3 kB / 415.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.582, allocations: 38.59 kB / 415.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.5842, allocations: 1.25 MB / 417 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.5845, allocations: 0.7947 MB / 417.8 MB, free: 9.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.5847, allocations: 37.91 kB / 417.8 MB, free: 9.461 MB / 314.7 MB Notification: Performance of SimCode: time 1.785e-06/0.5848, allocations: 3.875 kB / 417.8 MB, free: 9.461 MB / 314.7 MB Notification: Performance of Templates: time 0.009747/0.5945, allocations: 5.627 MB / 423.5 MB, free: 6.609 MB / 314.7 MB