Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003838, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1099, allocations: 44.49 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5449, allocations: 90.23 MB / 399.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.5453, allocations: 86.55 kB / 399.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532/2.078, allocations: 312.8 MB / 0.6954 GB, free: 69.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.886e-06/2.078, allocations: 0 / 0.6954 GB, free: 69.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007819/2.078, allocations: 180 kB / 0.6956 GB, free: 69.24 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04952/2.128, allocations: 9.856 MB / 0.7052 GB, free: 66.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/2.128, allocations: 10.91 kB / 0.7052 GB, free: 66.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04462/2.173, allocations: 5.56 MB / 0.7107 GB, free: 66.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/2.193, allocations: 6.131 MB / 0.7166 GB, free: 65.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001192/2.194, allocations: 0.6303 MB / 0.7173 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004786/2.199, allocations: 0.7995 MB / 0.718 GB, free: 65.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05347/2.253, allocations: 16.89 MB / 0.7345 GB, free: 64.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004579/2.253, allocations: 15.45 kB / 0.7345 GB, free: 64.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004243/2.257, allocations: 356 kB / 0.7349 GB, free: 64.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001094/2.259, allocations: 0.7113 MB / 0.7356 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04659/2.305, allocations: 16.18 MB / 0.7514 GB, free: 63.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1323/2.438, allocations: 51.27 MB / 0.8015 GB, free: 30.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03016/2.468, allocations: 13.81 MB / 0.8149 GB, free: 17.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/2.469, allocations: 319.8 kB / 0.8152 GB, free: 17.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/2.469, allocations: 112.5 kB / 0.8153 GB, free: 17.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.443e-05/2.469, allocations: 0 / 0.8153 GB, free: 17.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.5409/3.01, allocations: 39.62 MB / 0.854 GB, free: 60.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/3.011, allocations: 155.3 kB / 0.8542 GB, free: 60.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004321/3.015, allocations: 1.823 MB / 0.856 GB, free: 60.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002432/3.017, allocations: 146.9 kB / 0.8561 GB, free: 60.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/3.019, allocations: 2.479 MB / 0.8585 GB, free: 59.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005763/3.025, allocations: 3.153 MB / 0.8616 GB, free: 57.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002568/3.028, allocations: 132.9 kB / 0.8617 GB, free: 57.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001298/3.029, allocations: 0.6438 MB / 0.8624 GB, free: 57.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01782/3.047, allocations: 6.508 MB / 0.8687 GB, free: 57.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01815/3.065, allocations: 7.149 MB / 0.8757 GB, free: 57.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01974/3.085, allocations: 7.517 MB / 0.883 GB, free: 57.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-05/3.085, allocations: 0 / 0.883 GB, free: 57.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.05246/3.137, allocations: 18.01 MB / 0.9006 GB, free: 52.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/3.138, allocations: 3.812 kB / 0.9006 GB, free: 52.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-05/3.138, allocations: 6.375 kB / 0.9006 GB, free: 52.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02386/3.162, allocations: 6.645 MB / 0.9071 GB, free: 50.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/3.172, allocations: 1.17 MB / 0.9083 GB, free: 50.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02742/3.2, allocations: 12.77 MB / 0.9207 GB, free: 44.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008736/3.209, allocations: 0.7834 MB / 0.9215 GB, free: 43.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/3.211, allocations: 271.3 kB / 0.9218 GB, free: 43.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.01079/3.222, allocations: 3.581 MB / 0.9253 GB, free: 42.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/3.224, allocations: 409.6 kB / 0.9256 GB, free: 41.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05678/3.281, allocations: 19.48 MB / 0.9447 GB, free: 31.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004733/3.282, allocations: 278.9 kB / 0.9449 GB, free: 31.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.494e-05/3.282, allocations: 0 / 0.9449 GB, free: 31.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001794/3.282, allocations: 42.3 kB / 0.945 GB, free: 31.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09463/3.377, allocations: 34.21 MB / 0.9784 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001167/3.377, allocations: 0 / 0.9784 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01015/3.387, allocations: 1.101 MB / 0.9795 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02939/3.416, allocations: 6.89 MB / 0.9862 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002809/3.419, allocations: 209.5 kB / 0.9864 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3744/3.794, allocations: 12.81 MB / 0.9989 GB, free: 80.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/3.794, allocations: 0.9375 kB / 0.9989 GB, free: 80.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07419/3.868, allocations: 28.73 MB / 1.027 GB, free: 79.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007077/3.875, allocations: 2.08 MB / 1.029 GB, free: 79.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002138/3.877, allocations: 129.3 kB / 1.029 GB, free: 79.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006389/3.884, allocations: 419.4 kB / 1.03 GB, free: 79.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002323/3.886, allocations: 0.7115 MB / 1.03 GB, free: 79.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00109/3.887, allocations: 262.5 kB / 1.03 GB, free: 79.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002628/3.89, allocations: 1.273 MB / 1.032 GB, free: 79.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-07/3.89, allocations: 0 / 1.032 GB, free: 79.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009412/3.899, allocations: 2.39 MB / 1.034 GB, free: 79.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * 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 (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.002582/3.902, allocations: 333.9 kB / 1.034 GB, free: 79.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04301/3.945, allocations: 15.67 MB / 1.05 GB, free: 77.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/3.945, allocations: 0 / 1.05 GB, free: 77.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02466/3.97, allocations: 8.424 MB / 1.058 GB, free: 74.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006657/3.976, allocations: 0.5878 MB / 1.058 GB, free: 74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05631/4.033, allocations: 25.3 MB / 1.083 GB, free: 61.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/4.044, allocations: 6.248 MB / 1.089 GB, free: 59.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003837/4.048, allocations: 372.4 kB / 1.09 GB, free: 59.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/4.048, allocations: 0 / 1.09 GB, free: 59.5 MB / 442.7 MB Notification: Performance of Templates: time 1.185/5.233, allocations: 312.2 MB / 1.394 GB, free: 92.92 MB / 474.7 MB