Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.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.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003604, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 44.51 MB / 308.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007811/0.1225, allocations: 3.348 MB / 311.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.1264, allocations: 1.08 MB / 312.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007102/0.1271, allocations: 23.88 kB / 312.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.1279, allocations: 163.1 kB / 313 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1292, allocations: 195.3 kB / 313.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.1298, allocations: 99.84 kB / 313.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.132, allocations: 0.8345 MB / 314.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003116/0.1351, allocations: 1.201 MB / 315.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.1364, allocations: 474.3 kB / 315.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.1379, allocations: 0.5446 MB / 316.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.1382, allocations: 84 kB / 316.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.1387, allocations: 95.98 kB / 316.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.1393, allocations: 323 kB / 316.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005924/0.1399, allocations: 297 kB / 317.1 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.1439, allocations: 1.952 MB / 319 MB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.1439, allocations: 4 kB / 319 MB, free: 6.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.741e-06/0.144, allocations: 0 / 319 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.409e-05/0.144, allocations: 0 / 319 MB, free: 6.273 MB / 266.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.005569/0.1496, allocations: 1.51 MB / 320.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.1497, allocations: 12.03 kB / 320.5 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.1509, allocations: 158.2 kB / 320.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.1541, allocations: 0.856 MB / 321.6 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.1544, allocations: 102.8 kB / 321.7 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005655/0.155, allocations: 132 kB / 321.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/0.1613, allocations: 1.711 MB / 323.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-05/0.1614, allocations: 4 kB / 323.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/0.1617, allocations: 56 kB / 323.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.1618, allocations: 35.94 kB / 323.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005693/0.1675, allocations: 1.51 MB / 325.1 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.1833, allocations: 4.994 MB / 330.1 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.1854, allocations: 0.9746 MB / 331.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/0.1856, allocations: 4 kB / 331.1 MB, free: 9.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.1856, allocations: 34.56 kB / 331.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 5.296e-06/0.1856, allocations: 0 / 331.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.006051/0.1917, allocations: 1.805 MB / 332.9 MB, free: 7.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.1918, allocations: 55.41 kB / 333 MB, free: 7.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.1936, allocations: 0.6746 MB / 333.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/0.1937, allocations: 33.7 kB / 333.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000745/0.1945, allocations: 0.6484 MB / 334.3 MB, free: 6.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.1948, allocations: 149.8 kB / 334.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.1948, allocations: 12 kB / 334.5 MB, free: 6.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.1951, allocations: 334.8 kB / 334.8 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009409/0.1961, allocations: 276.9 kB / 335.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.1972, allocations: 413.2 kB / 335.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.1983, allocations: 344.6 kB / 335.8 MB, free: 4.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-06/0.1983, allocations: 0 / 335.8 MB, free: 4.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002765/0.2011, allocations: 0.805 MB / 336.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.2012, allocations: 12.09 kB / 336.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.2012, allocations: 4 kB / 336.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.2017, allocations: 80.81 kB / 336.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/0.2026, allocations: 119.8 kB / 336.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004982/0.2076, allocations: 1.94 MB / 338.8 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.2091, allocations: 32.05 kB / 338.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.2093, allocations: 23.98 kB / 338.8 MB, free: 1.738 MB / 282.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002366/0.2117, allocations: 0.49 MB / 339.3 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.2122, allocations: 63.25 kB / 339.4 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.2127, allocations: 81.89 kB / 339.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.2128, allocations: 11.98 kB / 339.5 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.2128, allocations: 0 / 339.5 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.2129, allocations: 7.984 kB / 339.5 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005248/0.2181, allocations: 1.95 MB / 341.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.487e-06/0.2182, allocations: 4.062 kB / 341.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/0.2187, allocations: 75.89 kB / 341.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.219, allocations: 76.8 kB / 341.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.2191, allocations: 11.98 kB / 341.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.2218, allocations: 1.908 MB / 343.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1e-05/0.2219, allocations: 8.016 kB / 343.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.2242, allocations: 1.068 MB / 344.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.2247, allocations: 192.3 kB / 344.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.2248, allocations: 16.23 kB / 344.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.2254, allocations: 44.03 kB / 344.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.2255, allocations: 35.94 kB / 344.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.2256, allocations: 12 kB / 344.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000872/0.2265, allocations: 486.7 kB / 345.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.79e-07/0.2265, allocations: 0 / 345.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001056/0.2275, allocations: 196 kB / 345.5 MB, free: 10.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].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 (37): * Single equations (assignments): 36 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002008/0.2278, allocations: 115.2 kB / 345.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.2296, allocations: 0.7585 MB / 346.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.792e-06/0.2296, allocations: 0 / 346.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.2305, allocations: 443.3 kB / 346.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/0.2315, allocations: 156.1 kB / 347 MB, free: 9.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.237, allocations: 2.779 MB / 349.8 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.2386, allocations: 1.41 MB / 351.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.2388, allocations: 51.42 kB / 351.2 MB, free: 4.973 MB / 298.7 MB Notification: Performance of SimCode: time 1.526e-06/0.2389, allocations: 0 / 351.2 MB, free: 4.973 MB / 298.7 MB Notification: Performance of Templates: time 0.03206/0.2709, allocations: 18.99 MB / 370.2 MB, free: 1.996 MB / 314.7 MB