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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.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 1.753/1.753, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003638, allocations: 12 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08114/0.08152, allocations: 44.5 MB / 308.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.4762, allocations: 90.24 MB / 398.7 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4765, allocations: 87.75 kB / 398.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317/1.793, allocations: 312.8 MB / 0.6949 GB, free: 67.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.542e-06/1.793, allocations: 0 / 0.6949 GB, free: 67.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005553/1.794, allocations: 180.2 kB / 0.6951 GB, free: 67.31 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.04347/1.837, allocations: 9.851 MB / 0.7047 GB, free: 64.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.838, allocations: 9.719 kB / 0.7047 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04001/1.878, allocations: 5.557 MB / 0.7101 GB, free: 64.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/1.895, allocations: 6.142 MB / 0.7161 GB, free: 63.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/1.896, allocations: 0.627 MB / 0.7167 GB, free: 63.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004052/1.9, allocations: 0.8047 MB / 0.7175 GB, free: 63.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04672/1.946, allocations: 16.83 MB / 0.734 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003478/1.947, allocations: 10.38 kB / 0.734 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004194/1.951, allocations: 351.4 kB / 0.7343 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009283/1.952, allocations: 0.7189 MB / 0.735 GB, free: 62.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03865/1.991, allocations: 16.18 MB / 0.7508 GB, free: 62.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/2.101, allocations: 51.26 MB / 0.8009 GB, free: 37.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02351/2.124, allocations: 13.81 MB / 0.8144 GB, free: 25.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/2.125, allocations: 319.7 kB / 0.8147 GB, free: 24.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.992e-05/2.126, allocations: 112 kB / 0.8148 GB, free: 24.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.674e-05/2.126, allocations: 0 / 0.8148 GB, free: 24.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.3625/2.488, allocations: 39.62 MB / 0.8535 GB, free: 62.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/2.488, allocations: 162.9 kB / 0.8536 GB, free: 62.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/2.492, allocations: 1.644 MB / 0.8552 GB, free: 61.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001908/2.494, allocations: 147.5 kB / 0.8554 GB, free: 61.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/2.495, allocations: 2.481 MB / 0.8578 GB, free: 60.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004555/2.5, allocations: 3.148 MB / 0.8609 GB, free: 59.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/2.502, allocations: 137.7 kB / 0.861 GB, free: 59.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001102/2.503, allocations: 0.6453 MB / 0.8616 GB, free: 58.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01431/2.517, allocations: 6.508 MB / 0.868 GB, free: 58.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01536/2.533, allocations: 7.131 MB / 0.8749 GB, free: 58.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/2.549, allocations: 7.512 MB / 0.8823 GB, free: 58.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.072e-05/2.549, allocations: 3.531 kB / 0.8823 GB, free: 58.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.0418/2.591, allocations: 18 MB / 0.8999 GB, free: 56.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/2.591, allocations: 10.89 kB / 0.8999 GB, free: 56.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.184e-05/2.591, allocations: 3.781 kB / 0.8999 GB, free: 56.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/2.61, allocations: 6.645 MB / 0.9064 GB, free: 54.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007606/2.618, allocations: 1.165 MB / 0.9075 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/2.64, allocations: 12.76 MB / 0.92 GB, free: 47.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/2.646, allocations: 0.7848 MB / 0.9207 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002196/2.648, allocations: 274.1 kB / 0.921 GB, free: 47.33 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.01041/2.659, allocations: 3.584 MB / 0.9245 GB, free: 45.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002283/2.661, allocations: 407.7 kB / 0.9249 GB, free: 45.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04576/2.707, allocations: 19.47 MB / 0.9439 GB, free: 37.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004167/2.707, allocations: 274.3 kB / 0.9442 GB, free: 37.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-05/2.707, allocations: 0 / 0.9442 GB, free: 37.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001367/2.708, allocations: 43.7 kB / 0.9442 GB, free: 37.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07311/2.781, allocations: 34.21 MB / 0.9776 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001021/2.781, allocations: 9.344 kB / 0.9776 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0066/2.787, allocations: 1.097 MB / 0.9787 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01763/2.805, allocations: 6.639 MB / 0.9852 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002101/2.807, allocations: 211.7 kB / 0.9854 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02624/2.834, allocations: 12.92 MB / 0.998 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/2.834, allocations: 3.312 kB / 0.998 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3347/3.168, allocations: 30.08 MB / 1.027 GB, free: 79.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008601/3.177, allocations: 2.08 MB / 1.029 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003286/3.18, allocations: 129.7 kB / 1.03 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00891/3.189, allocations: 420.1 kB / 1.03 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004229/3.194, allocations: 0.7065 MB / 1.031 GB, free: 78.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002956/3.197, allocations: 259 kB / 1.031 GB, free: 78.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004002/3.201, allocations: 1.273 MB / 1.032 GB, free: 78.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.173e-06/3.201, allocations: 1.875 kB / 1.032 GB, free: 78.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01343/3.214, allocations: 2.394 MB / 1.034 GB, free: 78.58 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.00235/3.216, allocations: 331.5 kB / 1.035 GB, free: 78.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0361/3.253, allocations: 15.68 MB / 1.05 GB, free: 78.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.78e-06/3.253, allocations: 3.781 kB / 1.05 GB, free: 78.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02073/3.273, allocations: 8.414 MB / 1.058 GB, free: 77.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005727/3.279, allocations: 0.5874 MB / 1.059 GB, free: 77.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05325/3.332, allocations: 25.3 MB / 1.084 GB, free: 64.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01321/3.346, allocations: 6.254 MB / 1.09 GB, free: 62.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003345/3.349, allocations: 379.5 kB / 1.09 GB, free: 62.66 MB / 442.7 MB Notification: Performance of SimCode: time 2.282e-06/3.349, allocations: 0 / 1.09 GB, free: 62.66 MB / 442.7 MB Notification: Performance of Templates: time 0.919/4.268, allocations: 312.2 MB / 1.395 GB, free: 100.5 MB / 474.7 MB