Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.3 MB / 179.2 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.338e-05, allocations: 4 kB / 222.5 MB, free: 4.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2565, allocations: 38.77 MB / 261.3 MB, free: 12.98 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3688, allocations: 71.87 MB / 333.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.3691, allocations: 71.97 kB / 333.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08371/0.4528, allocations: 21.28 MB / 354.5 MB, free: 164 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.4529, allocations: 0 / 354.5 MB, free: 164 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001169/0.453, allocations: 39.94 kB / 354.5 MB, free: 124 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.004049/0.4571, allocations: 1.416 MB / 356 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.4572, allocations: 12.03 kB / 356 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009872/0.4582, allocations: 170.2 kB / 356.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.4609, allocations: 0.935 MB / 357.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.461, allocations: 48 kB / 357.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/0.4615, allocations: 80 kB / 357.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003673/0.4652, allocations: 1.239 MB / 358.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/0.4704, allocations: 1.585 MB / 360 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/0.4705, allocations: 3.984 kB / 360 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.4708, allocations: 0 / 360 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.4708, allocations: 36 kB / 360.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.4828, allocations: 4.727 MB / 364.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.4842, allocations: 0.9461 MB / 365.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.4854, allocations: 460.4 kB / 366.2 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.4855, allocations: 4 kB / 366.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.4855, allocations: 38.56 kB / 366.2 MB, free: 3.988 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.082e-06/0.4855, allocations: 0 / 366.2 MB, free: 3.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003693/0.4892, allocations: 1.486 MB / 367.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4893, allocations: 55.41 kB / 367.8 MB, free: 2.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.4905, allocations: 0.5645 MB / 368.3 MB, free: 1.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/0.4906, allocations: 29.69 kB / 368.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/0.4912, allocations: 0.6368 MB / 369 MB, free: 1.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.4914, allocations: 145.8 kB / 369.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.4915, allocations: 0 / 369.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.4917, allocations: 330.8 kB / 369.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.4922, allocations: 249 kB / 369.7 MB, free: 408 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2271/0.7194, allocations: 376.3 kB / 370.1 MB, free: 85.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007674/0.7202, allocations: 313.7 kB / 370.4 MB, free: 85.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.979e-06/0.7202, allocations: 4.391 kB / 370.4 MB, free: 85.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00176/0.722, allocations: 0.7373 MB / 371.1 MB, free: 85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.722, allocations: 8.969 kB / 371.1 MB, free: 85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.7221, allocations: 4.312 kB / 371.1 MB, free: 85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.7225, allocations: 102.1 kB / 371.2 MB, free: 85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.7231, allocations: 118.9 kB / 371.3 MB, free: 85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.7254, allocations: 2.049 MB / 373.4 MB, free: 83.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.726, allocations: 23.72 kB / 373.4 MB, free: 83.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.7261, allocations: 22.41 kB / 373.4 MB, free: 83.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.7262, allocations: 114.9 kB / 373.6 MB, free: 83.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.7264, allocations: 64.7 kB / 373.6 MB, free: 83.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.7266, allocations: 75.53 kB / 373.7 MB, free: 83.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.175e-06/0.7266, allocations: 5 kB / 373.7 MB, free: 83.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.684e-06/0.7266, allocations: 2.719 kB / 373.7 MB, free: 83.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.842e-06/0.7266, allocations: 5.344 kB / 373.7 MB, free: 83.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/0.7302, allocations: 1.737 MB / 375.4 MB, free: 83.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.326e-06/0.7302, allocations: 0 / 375.4 MB, free: 83.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.7307, allocations: 79.69 kB / 375.5 MB, free: 83.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.731, allocations: 96.06 kB / 375.6 MB, free: 83.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.7311, allocations: 9.453 kB / 375.6 MB, free: 83.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.7332, allocations: 2.023 MB / 377.6 MB, free: 82.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/0.7332, allocations: 0 / 377.6 MB, free: 82.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.7348, allocations: 1.079 MB / 378.7 MB, free: 81.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.7352, allocations: 196.1 kB / 378.9 MB, free: 81.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.7353, allocations: 6.094 kB / 378.9 MB, free: 81.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.7358, allocations: 33.12 kB / 379 MB, free: 81.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.736, allocations: 39.58 kB / 379 MB, free: 81.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.736, allocations: 15.81 kB / 379 MB, free: 81.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006695/0.7367, allocations: 446.8 kB / 379.4 MB, free: 81.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.11e-07/0.7367, allocations: 0 / 379.4 MB, free: 81.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001111/0.7379, allocations: 184.9 kB / 379.6 MB, free: 81.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.7381, allocations: 110.2 kB / 379.7 MB, free: 81.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.7394, allocations: 0.7009 MB / 380.4 MB, free: 81.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.363e-06/0.7394, allocations: 3.875 kB / 380.4 MB, free: 81.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.7401, allocations: 432.6 kB / 380.9 MB, free: 81.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.7412, allocations: 141 kB / 381 MB, free: 81.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.7453, allocations: 1.784 MB / 382.8 MB, free: 80.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.7464, allocations: 1.42 MB / 384.2 MB, free: 80.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.7467, allocations: 49.22 kB / 384.2 MB, free: 80.01 MB / 314.7 MB Notification: Performance of SimCode: time 1.801e-06/0.7467, allocations: 0 / 384.2 MB, free: 80.01 MB / 314.7 MB Notification: Performance of Templates: time 0.02514/0.7719, allocations: 18.7 MB / 403 MB, free: 71.01 MB / 314.7 MB