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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.665/1.665, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.615e-05, allocations: 0 / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 38.78 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.3224, allocations: 72.53 MB / 340.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.3227, allocations: 75.95 kB / 340.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2567/0.5794, allocations: 21.5 MB / 361.7 MB, free: 71.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.848e-06/0.5795, allocations: 0 / 361.7 MB, free: 71.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.69e-05/0.5796, allocations: 40.48 kB / 361.7 MB, free: 71.95 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: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.002677/0.5823, allocations: 1.424 MB / 363.2 MB, free: 71.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5823, allocations: 7.906 kB / 363.2 MB, free: 71.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006346/0.583, allocations: 173 kB / 363.3 MB, free: 71.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.5847, allocations: 0.9304 MB / 364.3 MB, free: 70.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/0.5848, allocations: 109.1 kB / 364.4 MB, free: 70.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.5851, allocations: 138.8 kB / 364.5 MB, free: 70.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.5883, allocations: 1.788 MB / 366.3 MB, free: 70.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.5884, allocations: 0 / 366.3 MB, free: 70.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.5886, allocations: 60.75 kB / 366.4 MB, free: 70.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.5886, allocations: 32.2 kB / 366.4 MB, free: 70.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.5913, allocations: 1.311 MB / 367.7 MB, free: 70.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009115/0.6005, allocations: 5.015 MB / 372.7 MB, free: 68.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/0.6014, allocations: 0.9567 MB / 373.7 MB, free: 67.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008326/0.6022, allocations: 461.9 kB / 374.1 MB, free: 67.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.6023, allocations: 4.875 kB / 374.1 MB, free: 67.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.6023, allocations: 38.03 kB / 374.2 MB, free: 67.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 4.394e-06/0.6024, allocations: 0 / 374.2 MB, free: 67.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.002977/0.6053, allocations: 1.567 MB / 375.7 MB, free: 66.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.6054, allocations: 54.69 kB / 375.8 MB, free: 66.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.6063, allocations: 0.614 MB / 376.4 MB, free: 65.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.6064, allocations: 33.64 kB / 376.4 MB, free: 65.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.6067, allocations: 0.6456 MB / 377.1 MB, free: 65.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.6068, allocations: 152.4 kB / 377.2 MB, free: 65.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.6069, allocations: 12 kB / 377.2 MB, free: 65.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.6069, allocations: 329.8 kB / 377.6 MB, free: 64.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.6074, allocations: 261.2 kB / 377.8 MB, free: 64.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.608, allocations: 393.8 kB / 378.2 MB, free: 64.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.6085, allocations: 328.6 kB / 378.5 MB, free: 64.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.908e-06/0.6085, allocations: 3.953 kB / 378.5 MB, free: 64.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001472/0.61, allocations: 0.7878 MB / 379.3 MB, free: 63.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.6101, allocations: 8 kB / 379.3 MB, free: 63.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6101, allocations: 4 kB / 379.3 MB, free: 63.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/0.6104, allocations: 114.8 kB / 379.4 MB, free: 63.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.611, allocations: 107.1 kB / 379.5 MB, free: 63.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.6132, allocations: 2.133 MB / 381.7 MB, free: 61.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.6138, allocations: 39.23 kB / 381.7 MB, free: 61.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.6139, allocations: 20 kB / 381.7 MB, free: 60.99 MB / 298.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.0001402/0.614, allocations: 136.8 kB / 381.9 MB, free: 60.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.6142, allocations: 63.25 kB / 381.9 MB, free: 60.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.6144, allocations: 80.31 kB / 382 MB, free: 60.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6144, allocations: 4 kB / 382 MB, free: 60.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.599e-06/0.6144, allocations: 4 kB / 382 MB, free: 60.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.715e-06/0.6144, allocations: 7.469 kB / 382 MB, free: 60.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.618, allocations: 1.987 MB / 384 MB, free: 59.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.594e-06/0.6181, allocations: 3.953 kB / 384 MB, free: 59.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.6185, allocations: 74.53 kB / 384.1 MB, free: 58.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000295/0.6188, allocations: 95.42 kB / 384.2 MB, free: 58.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.6189, allocations: 15.69 kB / 384.2 MB, free: 58.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.6209, allocations: 2.087 MB / 386.3 MB, free: 56.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.621, allocations: 0 / 386.3 MB, free: 56.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.6226, allocations: 1.118 MB / 387.4 MB, free: 55.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.623, allocations: 205 kB / 387.6 MB, free: 55.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6232, allocations: 12 kB / 387.6 MB, free: 55.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.6237, allocations: 38.69 kB / 387.6 MB, free: 55.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6238, allocations: 33.27 kB / 387.7 MB, free: 55.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.6239, allocations: 12 kB / 387.7 MB, free: 55.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007111/0.6246, allocations: 497.5 kB / 388.2 MB, free: 55.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.6246, allocations: 0 / 388.2 MB, free: 55.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001014/0.6256, allocations: 215.9 kB / 388.4 MB, free: 54.83 MB / 298.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.0001714/0.6258, allocations: 114 kB / 388.5 MB, free: 54.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.6271, allocations: 0.7378 MB / 389.2 MB, free: 54.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.775e-06/0.6271, allocations: 0 / 389.2 MB, free: 54.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007633/0.6279, allocations: 453.6 kB / 389.7 MB, free: 53.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/0.6288, allocations: 157.2 kB / 389.8 MB, free: 53.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.6323, allocations: 1.822 MB / 391.7 MB, free: 51.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.6334, allocations: 1.418 MB / 393.1 MB, free: 50.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.6336, allocations: 51.42 kB / 393.1 MB, free: 50.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.759e-06/0.6337, allocations: 0 / 393.1 MB, free: 50.29 MB / 298.7 MB Notification: Performance of Templates: time 0.02454/0.6582, allocations: 18.96 MB / 412.1 MB, free: 31.51 MB / 298.7 MB