Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadModel(Modelica): time 1.703/1.703, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08502, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3515/0.4366, allocations: 77.32 MB / 349.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.437, allocations: 87.36 kB / 350 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1984/0.6354, allocations: 51.7 MB / 401.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.6354, allocations: 4 kB / 401.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002346/0.6357, allocations: 79.8 kB / 401.7 MB, free: 14.54 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01253/0.6482, allocations: 2.887 MB / 404.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.6483, allocations: 8.031 kB / 404.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/0.6511, allocations: 424.4 kB / 405 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005863/0.657, allocations: 1.76 MB / 406.8 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.6573, allocations: 181 kB / 407 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000806/0.6581, allocations: 251.9 kB / 407.2 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.6683, allocations: 3.326 MB / 410.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/0.6684, allocations: 3.938 kB / 410.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/0.6688, allocations: 104 kB / 410.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.669, allocations: 97.05 kB / 410.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008474/0.6775, allocations: 2.573 MB / 413.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02877/0.7063, allocations: 9.765 MB / 423.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/0.7097, allocations: 1.521 MB / 424.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.7098, allocations: 12.7 kB / 424.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.7099, allocations: 43.33 kB / 424.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 3.647e-06/0.7099, allocations: 0 / 424.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.01128/0.7212, allocations: 2.52 MB / 427.2 MB, free: 4.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.7213, allocations: 89.5 kB / 427.3 MB, free: 4.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003145/0.7245, allocations: 1.343 MB / 428.6 MB, free: 2.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.7248, allocations: 41.7 kB / 428.7 MB, free: 2.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.7259, allocations: 1.088 MB / 429.7 MB, free: 1.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.7264, allocations: 315.4 kB / 430 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.7265, allocations: 20 kB / 430.1 MB, free: 1.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.7267, allocations: 350.8 kB / 430.4 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.7283, allocations: 0.5256 MB / 430.9 MB, free: 460 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2963/1.025, allocations: 0.7518 MB / 431.7 MB, free: 80.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/1.028, allocations: 0.6415 MB / 432.3 MB, free: 80.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.953e-05/1.028, allocations: 1.375 kB / 432.3 MB, free: 80.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007452/1.035, allocations: 1.732 MB / 434.1 MB, free: 80.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/1.035, allocations: 8.219 kB / 434.1 MB, free: 80.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.035, allocations: 6.438 kB / 434.1 MB, free: 80.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/1.037, allocations: 395.1 kB / 434.5 MB, free: 80.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.039, allocations: 182.6 kB / 434.6 MB, free: 80.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.05, allocations: 6.274 MB / 440.9 MB, free: 78.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.052, allocations: 127.5 kB / 441 MB, free: 78.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.052, allocations: 42.11 kB / 441.1 MB, free: 78.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (86): * Single equations (assignments): 84 * 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: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002547/1.055, allocations: 0.8418 MB / 441.9 MB, free: 77.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/1.055, allocations: 137.4 kB / 442.1 MB, free: 77.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/1.056, allocations: 162.3 kB / 442.2 MB, free: 77.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.056, allocations: 11.41 kB / 442.2 MB, free: 77.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.259e-05/1.056, allocations: 5.625 kB / 442.2 MB, free: 77.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/1.056, allocations: 5.766 kB / 442.2 MB, free: 77.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.066, allocations: 3.776 MB / 446 MB, free: 77.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.066, allocations: 1.031 kB / 446 MB, free: 77.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009037/1.067, allocations: 113.7 kB / 446.1 MB, free: 77.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/1.069, allocations: 389.6 kB / 446.5 MB, free: 77.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/1.069, allocations: 34.53 kB / 446.5 MB, free: 77.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/1.08, allocations: 6.213 MB / 452.8 MB, free: 74.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.08, allocations: 3.312 kB / 452.8 MB, free: 74.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/1.085, allocations: 2.326 MB / 455.1 MB, free: 74.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.087, allocations: 336.3 kB / 455.4 MB, free: 74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005094/1.087, allocations: 34.11 kB / 455.4 MB, free: 74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.089, allocations: 95.95 kB / 455.5 MB, free: 74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/1.089, allocations: 86.59 kB / 455.6 MB, free: 73.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/1.089, allocations: 27.38 kB / 455.6 MB, free: 73.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001958/1.091, allocations: 0.9389 MB / 456.6 MB, free: 73.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.22e-07/1.091, allocations: 3.25 kB / 456.6 MB, free: 73.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002652/1.094, allocations: 0.6334 MB / 457.2 MB, free: 73.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (47): * Single equations (assignments): 45 * 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: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004271/1.094, allocations: 156.1 kB / 457.4 MB, free: 73.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004418/1.099, allocations: 1.649 MB / 459 MB, free: 73.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.099, allocations: 0 / 459 MB, free: 73.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002645/1.101, allocations: 1.06 MB / 460.1 MB, free: 73.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.104, allocations: 273.4 kB / 460.4 MB, free: 73.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.115, allocations: 5.253 MB / 465.6 MB, free: 70.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/1.118, allocations: 2.116 MB / 467.7 MB, free: 69.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/1.118, allocations: 74.5 kB / 467.8 MB, free: 69.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/1.118, allocations: 0 / 467.8 MB, free: 69.76 MB / 346.7 MB Notification: Performance of Templates: time 0.08081/1.199, allocations: 47.85 MB / 0.5036 GB, free: 42.39 MB / 346.7 MB