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.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 2.198/2.198, allocations: 194.8 MB / 211.7 MB, free: 2.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005335/0.0005334, allocations: 12 kB / 264.5 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09953, allocations: 44.52 MB / 309 MB, free: 332 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4354/0.535, allocations: 75.01 MB / 384.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5353, allocations: 80.33 kB / 384.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02928/0.5646, allocations: 6.894 MB / 391 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5647, allocations: 7.844 kB / 391 MB, free: 14.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.5647, allocations: 3.969 kB / 391 MB, free: 14.55 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001159/0.5659, allocations: 0.5511 MB / 391.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5659, allocations: 7.625 kB / 391.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.566, allocations: 35.19 kB / 391.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.5665, allocations: 265.9 kB / 391.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.5665, allocations: 19.22 kB / 391.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.5666, allocations: 27.19 kB / 391.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.5673, allocations: 245.3 kB / 392.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5673, allocations: 3.875 kB / 392.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.5673, allocations: 10.56 kB / 392.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5674, allocations: 11.75 kB / 392.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.5681, allocations: 211.2 kB / 392.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.5702, allocations: 1.019 MB / 393.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.5708, allocations: 208.3 kB / 393.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.5709, allocations: 3.969 kB / 393.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.5709, allocations: 38.31 kB / 393.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.587e-06/0.5709, allocations: 0 / 393.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.007674/0.5786, allocations: 1.497 MB / 395.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.5787, allocations: 55.22 kB / 395.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.579, allocations: 231.8 kB / 395.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.579, allocations: 32.33 kB / 395.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5792, allocations: 183.4 kB / 395.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.5793, allocations: 117 kB / 395.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.5793, allocations: 10.81 kB / 395.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.5794, allocations: 337.8 kB / 396.1 MB, free: 12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.5798, allocations: 109.6 kB / 396.2 MB, free: 12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.5802, allocations: 160.2 kB / 396.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.5806, allocations: 121.2 kB / 396.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5806, allocations: 3.969 kB / 396.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00248/0.5831, allocations: 0.5327 MB / 397 MB, free: 11.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5831, allocations: 12.31 kB / 397 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5832, allocations: 0 / 397 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/0.5855, allocations: 259.4 kB / 397.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.586, allocations: 54.28 kB / 397.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/0.5921, allocations: 3.806 MB / 401.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.5926, allocations: 7.75 kB / 401.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.5927, allocations: 11.31 kB / 401.2 MB, free: 9.082 MB / 314.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 (28): * Single equations (assignments): 26 * 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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.5929, allocations: 146.9 kB / 401.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.593, allocations: 27.09 kB / 401.3 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.5931, allocations: 49.17 kB / 401.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5932, allocations: 3.844 kB / 401.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.5932, allocations: 0 / 401.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5932, allocations: 3.516 kB / 401.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.5938, allocations: 375 kB / 401.8 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.5938, allocations: 0 / 401.8 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.5942, allocations: 45.19 kB / 401.8 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/0.5965, allocations: 250.6 kB / 402.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.5966, allocations: 14.73 kB / 402.1 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/0.6023, allocations: 3.685 MB / 405.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6023, allocations: 0 / 405.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.6052, allocations: 0.7144 MB / 406.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.6054, allocations: 98.3 kB / 406.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.6055, allocations: 8.109 kB / 406.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.6058, allocations: 18.98 kB / 406.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.606, allocations: 26.09 kB / 406.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.606, allocations: 9.125 kB / 406.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.6063, allocations: 165.4 kB / 406.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6063, allocations: 0 / 406.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008275/0.6071, allocations: 109 kB / 406.9 MB, free: 5.684 MB / 314.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 (18): * Single equations (assignments): 16 * 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%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002058/0.6074, allocations: 124.6 kB / 407 MB, free: 5.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.6087, allocations: 0.5596 MB / 407.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6087, allocations: 4.062 kB / 407.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.6095, allocations: 428.5 kB / 408 MB, free: 5.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.6098, allocations: 23.67 kB / 408 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.6115, allocations: 0.8297 MB / 408.9 MB, free: 4.633 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.6118, allocations: 0.7886 MB / 409.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.612, allocations: 21.48 kB / 409.7 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.6121, allocations: 22.3 kB / 409.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6121, allocations: 0 / 409.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of Templates: time 0.015/0.6271, allocations: 5.282 MB / 415 MB, free: 2.008 MB / 314.7 MB