Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.BasicComponents.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadModel(ModelicaTest): time 2.187/2.187, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004418, allocations: 8 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3448, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004209/0.349, allocations: 2.771 MB / 372 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.3507, allocations: 0.8194 MB / 372.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.351, allocations: 11.94 kB / 372.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.3511, allocations: 55.53 kB / 372.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.3515, allocations: 143.6 kB / 373 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.3519, allocations: 83.92 kB / 373.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.3525, allocations: 355.7 kB / 373.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.3528, allocations: 194.6 kB / 373.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.3532, allocations: 171.3 kB / 373.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.3535, allocations: 195.1 kB / 374 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.3536, allocations: 24 kB / 374 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.3537, allocations: 28 kB / 374 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.3538, allocations: 79.67 kB / 374.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.3539, allocations: 109.5 kB / 374.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.3545, allocations: 415.5 kB / 374.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.322e-06/0.3545, allocations: 0 / 374.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.188e-06/0.3545, allocations: 4 kB / 374.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.124e-06/0.3545, allocations: 0 / 374.6 MB, free: 5.262 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001422/0.3559, allocations: 0.6978 MB / 375.3 MB, free: 4.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.356, allocations: 8.031 kB / 375.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.3561, allocations: 51.44 kB / 375.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.3566, allocations: 308.2 kB / 375.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.3567, allocations: 37 kB / 375.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.3568, allocations: 44 kB / 375.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.358, allocations: 466.9 kB / 376.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.358, allocations: 3.984 kB / 376.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.3581, allocations: 20 kB / 376.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.3581, allocations: 19.95 kB / 376.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.3591, allocations: 323.8 kB / 376.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.3626, allocations: 1.697 MB / 378.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.3634, allocations: 241 kB / 378.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3634, allocations: 7.984 kB / 378.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.3635, allocations: 34.78 kB / 378.5 MB, free: 1.078 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 4.219e-06/0.3635, allocations: 7.938 kB / 378.5 MB, free: 1.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.003883/0.3674, allocations: 1.326 MB / 379.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.3675, allocations: 81.11 kB / 379.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.3679, allocations: 262.5 kB / 380.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.3679, allocations: 29.7 kB / 380.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.3682, allocations: 313.9 kB / 380.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3683, allocations: 114.3 kB / 380.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.3683, allocations: 12 kB / 380.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3685, allocations: 334.8 kB / 381 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.3689, allocations: 108.8 kB / 381.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.3695, allocations: 217.1 kB / 381.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.3699, allocations: 137.6 kB / 381.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.6e-06/0.3699, allocations: 0 / 381.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001184/0.3711, allocations: 410.4 kB / 381.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3712, allocations: 8.062 kB / 381.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3712, allocations: 4 kB / 381.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.3714, allocations: 40.73 kB / 381.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.372, allocations: 115.9 kB / 382 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.3735, allocations: 1.343 MB / 383.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.3739, allocations: 16 kB / 383.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.3739, allocations: 19.98 kB / 383.4 MB, free: 11.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002857/0.3742, allocations: 169.7 kB / 383.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3743, allocations: 27.72 kB / 383.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.11e-05/0.3745, allocations: 38.17 kB / 383.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-06/0.3745, allocations: 7.953 kB / 383.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.557e-06/0.3745, allocations: 0 / 383.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-06/0.3745, allocations: 0 / 383.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/0.3753, allocations: 421.4 kB / 384 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-06/0.3753, allocations: 0 / 384 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.3759, allocations: 91.88 kB / 384.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.376, allocations: 24.84 kB / 384.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.3761, allocations: 11.98 kB / 384.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.3775, allocations: 1.336 MB / 385.5 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.59e-06/0.3775, allocations: 0 / 385.5 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.379, allocations: 0.5956 MB / 386.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.3792, allocations: 128.7 kB / 386.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.3792, allocations: 4 kB / 386.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.3796, allocations: 19.98 kB / 386.2 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.3797, allocations: 23.97 kB / 386.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.3797, allocations: 19.98 kB / 386.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002532/0.38, allocations: 182 kB / 386.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.38, allocations: 0 / 386.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000664/0.3807, allocations: 92 kB / 386.6 MB, free: 8.473 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.3809, allocations: 103.2 kB / 386.7 MB, free: 8.363 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.382, allocations: 406.3 kB / 387 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.172e-06/0.382, allocations: 0.75 kB / 387 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.3826, allocations: 263.5 kB / 387.3 MB, free: 7.684 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.3831, allocations: 36.44 kB / 387.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3853, allocations: 1.144 MB / 388.5 MB, free: 6.465 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.3859, allocations: 0.8269 MB / 389.3 MB, free: 5.605 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3861, allocations: 27.44 kB / 389.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3861, allocations: 0 / 389.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of Templates: time 0.01048/0.3966, allocations: 5.647 MB / 395 MB, free: 15.93 MB / 330.7 MB