Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 0.9486/0.9486, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.568e-05, allocations: 7.984 kB / 154.3 MB, free: 13.12 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 25.15 MB / 179.4 MB, free: 0.7891 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05673/0.194, allocations: 37.35 MB / 216.8 MB, free: 11.74 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.1942, allocations: 67.91 kB / 216.8 MB, free: 11.68 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.027/0.2213, allocations: 6.551 MB / 223.4 MB, free: 5.09 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.046e-06/0.2213, allocations: 0 / 223.4 MB, free: 5.09 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.2213, allocations: 4 kB / 223.4 MB, free: 5.086 MB / 186.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.0009505/0.2223, allocations: 0.5294 MB / 223.9 MB, free: 4.508 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2223, allocations: 8.031 kB / 223.9 MB, free: 4.5 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.2225, allocations: 35.62 kB / 224 MB, free: 4.465 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.2229, allocations: 255 kB / 224.2 MB, free: 4.176 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.2229, allocations: 20.55 kB / 224.2 MB, free: 4.156 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.223, allocations: 27.91 kB / 224.3 MB, free: 4.129 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.2235, allocations: 228.9 kB / 224.5 MB, free: 3.898 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2236, allocations: 0 / 224.5 MB, free: 3.898 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.2236, allocations: 15.95 kB / 224.5 MB, free: 3.883 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.2237, allocations: 11.94 kB / 224.5 MB, free: 3.871 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.2241, allocations: 178.2 kB / 224.7 MB, free: 3.699 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.2262, allocations: 0.9437 MB / 225.6 MB, free: 2.68 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.2267, allocations: 175.1 kB / 225.8 MB, free: 2.5 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.227, allocations: 97.16 kB / 225.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.2271, allocations: 85.3 kB / 226 MB, free: 2.301 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.2272, allocations: 42.69 kB / 226 MB, free: 2.25 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 2.882e-06/0.2272, allocations: 0 / 226 MB, free: 2.25 MB / 186.7 MB Notification: Performance of matching and sorting (n=31): time 0.006557/0.2337, allocations: 1.264 MB / 227.3 MB, free: 0.9297 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.2338, allocations: 55.41 kB / 227.3 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.2342, allocations: 209 kB / 227.6 MB, free: 0.6562 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.2342, allocations: 33.7 kB / 227.6 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.2344, allocations: 242.5 kB / 227.8 MB, free: 388 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2345, allocations: 102.5 kB / 227.9 MB, free: 284 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.2346, allocations: 8 kB / 227.9 MB, free: 276 kB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2348, allocations: 322.8 kB / 228.2 MB, free: 15.95 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2351, allocations: 99.94 kB / 228.3 MB, free: 15.85 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.2354, allocations: 152.9 kB / 228.5 MB, free: 15.68 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.2357, allocations: 119.8 kB / 228.6 MB, free: 15.56 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.951e-06/0.2358, allocations: 0 / 228.6 MB, free: 15.56 MB / 202.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002525/0.2383, allocations: 0.5023 MB / 229.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2384, allocations: 11.95 kB / 229.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.033e-06/0.2384, allocations: 4.094 kB / 229.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.2399, allocations: 209.5 kB / 229.3 MB, free: 14.82 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.2403, allocations: 51.91 kB / 229.4 MB, free: 14.77 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004994/0.2453, allocations: 2.691 MB / 232.1 MB, free: 11.92 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.2457, allocations: 15.98 kB / 232.1 MB, free: 11.9 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.2457, allocations: 15.98 kB / 232.1 MB, free: 11.89 MB / 202.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: 0 () * Number of discrete 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.0001546/0.2459, allocations: 116.9 kB / 232.2 MB, free: 11.77 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.246, allocations: 23.72 kB / 232.2 MB, free: 11.74 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.2485, allocations: 494.2 kB / 232.7 MB, free: 11.24 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.642e-06/0.2485, allocations: 7.938 kB / 232.7 MB, free: 11.23 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-06/0.2485, allocations: 4 kB / 232.7 MB, free: 11.23 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2485, allocations: 0 / 232.7 MB, free: 11.23 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.2518, allocations: 0.9589 MB / 233.7 MB, free: 10.21 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.246e-06/0.2518, allocations: 4 kB / 233.7 MB, free: 10.2 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2521, allocations: 39.97 kB / 233.7 MB, free: 10.16 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.2536, allocations: 213.5 kB / 233.9 MB, free: 9.949 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.2536, allocations: 11.98 kB / 234 MB, free: 9.938 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004946/0.2586, allocations: 2.692 MB / 236.7 MB, free: 7.086 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.757e-06/0.2586, allocations: 0 / 236.7 MB, free: 7.086 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.2614, allocations: 0.7144 MB / 237.4 MB, free: 6.34 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.2617, allocations: 132.9 kB / 237.5 MB, free: 6.191 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.2617, allocations: 4 kB / 237.5 MB, free: 6.188 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.2621, allocations: 15.98 kB / 237.5 MB, free: 6.172 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.2622, allocations: 27.95 kB / 237.5 MB, free: 6.145 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.2622, allocations: 12 kB / 237.6 MB, free: 6.133 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002375/0.2625, allocations: 161.4 kB / 237.7 MB, free: 5.973 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.2625, allocations: 0 / 237.7 MB, free: 5.973 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007111/0.2632, allocations: 95.94 kB / 237.8 MB, free: 5.879 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete 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.0002514/0.2635, allocations: 131.2 kB / 237.9 MB, free: 5.742 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2645, allocations: 418.3 kB / 238.3 MB, free: 5.32 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.36e-06/0.2646, allocations: 0 / 238.3 MB, free: 5.32 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00063/0.2652, allocations: 298.5 kB / 238.6 MB, free: 5.016 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2656, allocations: 29.84 kB / 238.7 MB, free: 4.988 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2668, allocations: 475.5 kB / 239.1 MB, free: 4.492 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.2673, allocations: 0.7798 MB / 239.9 MB, free: 3.688 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.2674, allocations: 19.44 kB / 239.9 MB, free: 3.668 MB / 202.7 MB Notification: Performance of SimCode: time 1.728e-06/0.2674, allocations: 0 / 239.9 MB, free: 3.668 MB / 202.7 MB Notification: Performance of Templates: time 0.1275/0.3949, allocations: 5.727 MB / 245.7 MB, free: 54.35 MB / 202.7 MB