Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004955, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4705/0.5724, allocations: 90.24 MB / 399.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.5728, allocations: 89.09 kB / 399.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534/2.107, allocations: 312.8 MB / 0.6955 GB, free: 52.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.494e-06/2.107, allocations: 1.188 kB / 0.6955 GB, free: 52.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005401/2.108, allocations: 179.3 kB / 0.6957 GB, free: 52.56 MB / 410.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.05125/2.159, allocations: 9.86 MB / 0.7053 GB, free: 49.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/2.159, allocations: 10.69 kB / 0.7053 GB, free: 49.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04613/2.205, allocations: 5.552 MB / 0.7107 GB, free: 49.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/2.226, allocations: 6.132 MB / 0.7167 GB, free: 48.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/2.227, allocations: 0.6373 MB / 0.7173 GB, free: 48.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004631/2.231, allocations: 0.8024 MB / 0.7181 GB, free: 48.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05153/2.283, allocations: 16.82 MB / 0.7345 GB, free: 47.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003428/2.283, allocations: 11.33 kB / 0.7346 GB, free: 47.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00317/2.287, allocations: 357.8 kB / 0.7349 GB, free: 47.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009547/2.288, allocations: 0.7112 MB / 0.7356 GB, free: 47.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0438/2.331, allocations: 16.18 MB / 0.7514 GB, free: 47.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1776/2.509, allocations: 51.27 MB / 0.8015 GB, free: 20.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03052/2.54, allocations: 13.81 MB / 0.8149 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/2.541, allocations: 311.1 kB / 0.8152 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.663e-05/2.541, allocations: 120.4 kB / 0.8154 GB, free: 7.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=968): time 1.518e-05/2.541, allocations: 0 / 0.8154 GB, free: 7.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=968): time 0.4504/2.992, allocations: 40.23 MB / 0.8546 GB, free: 64.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/2.992, allocations: 161.4 kB / 0.8548 GB, free: 64.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005245/2.997, allocations: 1.816 MB / 0.8566 GB, free: 64.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003145/3, allocations: 149.4 kB / 0.8567 GB, free: 64.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003527/3.004, allocations: 2.533 MB / 0.8592 GB, free: 63.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007166/3.011, allocations: 3.153 MB / 0.8623 GB, free: 61.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00223/3.014, allocations: 131.6 kB / 0.8624 GB, free: 61.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001293/3.015, allocations: 0.645 MB / 0.863 GB, free: 61.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01777/3.033, allocations: 6.507 MB / 0.8694 GB, free: 61.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01802/3.051, allocations: 7.125 MB / 0.8763 GB, free: 60.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/3.069, allocations: 7.519 MB / 0.8837 GB, free: 60.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.352e-05/3.069, allocations: 0 / 0.8837 GB, free: 60.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.04782/3.117, allocations: 18.11 MB / 0.9014 GB, free: 58.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/3.117, allocations: 5.969 kB / 0.9014 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-05/3.117, allocations: 5.688 kB / 0.9014 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/3.139, allocations: 6.642 MB / 0.9079 GB, free: 56.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/3.149, allocations: 1.167 MB / 0.909 GB, free: 56.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02421/3.174, allocations: 12.77 MB / 0.9215 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007881/3.182, allocations: 0.7838 MB / 0.9222 GB, free: 49.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002022/3.184, allocations: 272 kB / 0.9225 GB, free: 49.32 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.009972/3.194, allocations: 3.584 MB / 0.926 GB, free: 47.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001806/3.195, allocations: 408.2 kB / 0.9264 GB, free: 47.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0518/3.247, allocations: 19.47 MB / 0.9454 GB, free: 39.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004136/3.248, allocations: 276.6 kB / 0.9457 GB, free: 39.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-05/3.248, allocations: 5 kB / 0.9457 GB, free: 39.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001636/3.248, allocations: 36.7 kB / 0.9457 GB, free: 39.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08452/3.332, allocations: 34.21 MB / 0.9791 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001193/3.333, allocations: 3 kB / 0.9791 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009825/3.342, allocations: 1.099 MB / 0.9802 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0221/3.365, allocations: 6.646 MB / 0.9867 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002445/3.367, allocations: 205 kB / 0.9869 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02829/3.395, allocations: 12.84 MB / 0.9994 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/3.396, allocations: 5.438 kB / 0.9994 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4207/3.816, allocations: 29.9 MB / 1.029 GB, free: 80.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01131/3.828, allocations: 2.075 MB / 1.031 GB, free: 79.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004169/3.832, allocations: 127.3 kB / 1.031 GB, free: 79.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00777/3.84, allocations: 423 kB / 1.031 GB, free: 79.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003559/3.843, allocations: 0.7055 MB / 1.032 GB, free: 79.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002061/3.845, allocations: 257.5 kB / 1.032 GB, free: 79.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002598/3.848, allocations: 1.277 MB / 1.033 GB, free: 79.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/3.848, allocations: 2.938 kB / 1.033 GB, free: 79.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01289/3.861, allocations: 2.387 MB / 1.036 GB, free: 79.48 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.003975/3.865, allocations: 331.1 kB / 1.036 GB, free: 79.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04413/3.909, allocations: 15.68 MB / 1.051 GB, free: 79.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/3.909, allocations: 0 / 1.051 GB, free: 79.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02472/3.934, allocations: 8.417 MB / 1.06 GB, free: 78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006688/3.941, allocations: 0.5908 MB / 1.06 GB, free: 77.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05636/3.997, allocations: 25.33 MB / 1.085 GB, free: 65.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0125/4.01, allocations: 6.33 MB / 1.091 GB, free: 63.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009809/4.019, allocations: 1.823 MB / 1.093 GB, free: 63.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003038/4.023, allocations: 316.9 kB / 1.093 GB, free: 63.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/4.023, allocations: 0 / 1.093 GB, free: 63.16 MB / 442.7 MB Notification: Performance of Templates: time 0.648/4.671, allocations: 139 MB / 1.229 GB, free: 71.73 MB / 442.7 MB