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.597/1.597, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003612, allocations: 8 kB / 233.2 MB, free: 0.9336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06911/0.06949, allocations: 38.77 MB / 272 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/0.3546, allocations: 72.62 MB / 344.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.3549, allocations: 71.97 kB / 344.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08129/0.4362, allocations: 21.45 MB / 366.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4363, allocations: 0 / 366.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.4364, allocations: 43.94 kB / 366.2 MB, free: 4.75 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.004469/0.4409, allocations: 1.518 MB / 367.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.441, allocations: 8.031 kB / 367.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.4419, allocations: 182.1 kB / 367.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.4444, allocations: 0.9312 MB / 368.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4446, allocations: 102.8 kB / 368.9 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.4451, allocations: 135.9 kB / 369.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004927/0.45, allocations: 1.832 MB / 370.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.4501, allocations: 3.938 kB / 370.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.4503, allocations: 64 kB / 371 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.4503, allocations: 32 kB / 371 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/0.4541, allocations: 1.377 MB / 372.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.4662, allocations: 5.006 MB / 377.4 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.4677, allocations: 0.9752 MB / 378.3 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/0.4678, allocations: 8 kB / 378.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.4678, allocations: 38.56 kB / 378.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.15e-05/0.4678, allocations: 4 kB / 378.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.004565/0.4724, allocations: 1.838 MB / 380.2 MB, free: 6.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4725, allocations: 59.41 kB / 380.3 MB, free: 6.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.4737, allocations: 0.6154 MB / 380.9 MB, free: 5.473 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/0.4738, allocations: 33.7 kB / 380.9 MB, free: 5.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005435/0.4743, allocations: 0.6368 MB / 381.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.4745, allocations: 157.7 kB / 381.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.4746, allocations: 16 kB / 381.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4748, allocations: 334.8 kB / 382.1 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/0.4754, allocations: 280.9 kB / 382.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/0.4762, allocations: 413.9 kB / 382.8 MB, free: 3.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.477, allocations: 344.6 kB / 383.1 MB, free: 3.207 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.477, allocations: 4 kB / 383.1 MB, free: 3.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001885/0.4789, allocations: 0.8128 MB / 383.9 MB, free: 2.379 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.479, allocations: 8 kB / 383.9 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.479, allocations: 4 kB / 383.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.4793, allocations: 84.95 kB / 384 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.48, allocations: 123.8 kB / 384.1 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.4828, allocations: 1.936 MB / 386.1 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.4834, allocations: 35.86 kB / 386.1 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.4835, allocations: 23.98 kB / 386.1 MB, free: 32 kB / 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 () * 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.001141/0.4847, allocations: 0.5029 MB / 386.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.4849, allocations: 67.19 kB / 386.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.4851, allocations: 82.09 kB / 386.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.621e-06/0.4851, allocations: 4 kB / 386.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.644e-06/0.4851, allocations: 0 / 386.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4851, allocations: 7.984 kB / 386.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.4897, allocations: 1.964 MB / 388.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.4898, allocations: 0 / 388.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.4902, allocations: 75.89 kB / 388.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002954/0.4905, allocations: 84.94 kB / 388.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.4906, allocations: 15.98 kB / 388.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.4933, allocations: 1.916 MB / 390.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4933, allocations: 3.953 kB / 390.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.4957, allocations: 1.115 MB / 391.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.4962, allocations: 196.3 kB / 392.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.4964, allocations: 11.98 kB / 392.2 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.4969, allocations: 35.97 kB / 392.2 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.497, allocations: 39.97 kB / 392.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.4971, allocations: 11.98 kB / 392.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009268/0.498, allocations: 498.7 kB / 392.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.498, allocations: 0 / 392.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001192/0.4992, allocations: 200 kB / 392.9 MB, free: 8.957 MB / 330.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.0002338/0.4995, allocations: 123 kB / 393 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.5014, allocations: 0.7596 MB / 393.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.325e-06/0.5014, allocations: 8.125 kB / 393.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.5024, allocations: 442.2 kB / 394.2 MB, free: 7.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5035, allocations: 154.3 kB / 394.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/0.5094, allocations: 2.772 MB / 397.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.5111, allocations: 1.425 MB / 398.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.5114, allocations: 55.42 kB / 398.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of SimCode: time 1.869e-06/0.5114, allocations: 0 / 398.6 MB, free: 3.125 MB / 330.7 MB Notification: Performance of Templates: time 0.03345/0.5449, allocations: 19 MB / 417.6 MB, free: 152 kB / 346.7 MB