Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005303, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1129, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.5848, allocations: 72.62 MB / 345.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000422/0.5853, allocations: 84.08 kB / 345.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1349/0.7201, allocations: 21.45 MB / 366.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7202, allocations: 0 / 366.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001698/0.7204, allocations: 43.94 kB / 366.8 MB, free: 14.63 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.005648/0.7261, allocations: 1.517 MB / 368.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.7261, allocations: 8.031 kB / 368.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.7273, allocations: 182.1 kB / 368.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.7309, allocations: 0.9285 MB / 369.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.7312, allocations: 107.3 kB / 369.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009376/0.7322, allocations: 138.2 kB / 369.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009886/0.7421, allocations: 1.838 MB / 371.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-05/0.7422, allocations: 0 / 371.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/0.7427, allocations: 60.75 kB / 371.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.333e-05/0.7428, allocations: 32 kB / 371.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007176/0.75, allocations: 1.381 MB / 373 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.772, allocations: 5.007 MB / 378 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.7745, allocations: 0.9786 MB / 379 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.951e-05/0.7747, allocations: 7.984 kB / 379 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.7747, allocations: 38.5 kB / 379 MB, free: 4.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 5.14e-06/0.7747, allocations: 4 kB / 379 MB, free: 4.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.007805/0.7826, allocations: 1.838 MB / 380.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.7827, allocations: 59.41 kB / 380.9 MB, free: 2.641 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.7849, allocations: 0.6864 MB / 381.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.785, allocations: 29.7 kB / 381.6 MB, free: 1.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008222/0.7858, allocations: 0.6148 MB / 382.2 MB, free: 1.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.7861, allocations: 153.8 kB / 382.4 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.7862, allocations: 8 kB / 382.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000303/0.7865, allocations: 374.8 kB / 382.8 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.7878, allocations: 284.9 kB / 383 MB, free: 480 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.7892, allocations: 414.4 kB / 383.5 MB, free: 8 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.7907, allocations: 348.6 kB / 383.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.7907, allocations: 7.953 kB / 383.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003664/0.7944, allocations: 0.8475 MB / 384.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.7944, allocations: 8 kB / 384.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7945, allocations: 7.938 kB / 384.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.7951, allocations: 84.91 kB / 384.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.7965, allocations: 119.8 kB / 384.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.8008, allocations: 1.943 MB / 386.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.802, allocations: 31.97 kB / 386.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.09e-05/0.8021, allocations: 23.94 kB / 386.9 MB, free: 12.45 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 () * 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.001774/0.8039, allocations: 0.5092 MB / 387.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.8041, allocations: 59.25 kB / 387.4 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.8045, allocations: 82.09 kB / 387.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.8045, allocations: 7.938 kB / 387.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.8046, allocations: 0 / 387.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.8046, allocations: 0 / 387.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007963/0.8126, allocations: 1.972 MB / 389.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.8126, allocations: 0 / 389.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.8137, allocations: 71.95 kB / 389.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/0.8142, allocations: 84.7 kB / 389.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.8143, allocations: 8 kB / 389.7 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/0.8185, allocations: 1.916 MB / 391.6 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.8185, allocations: 0 / 391.6 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.8226, allocations: 1.092 MB / 392.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007234/0.8234, allocations: 208.3 kB / 392.9 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.8236, allocations: 8 kB / 392.9 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/0.8245, allocations: 35.97 kB / 392.9 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.8248, allocations: 39.88 kB / 392.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.8249, allocations: 12 kB / 393 MB, free: 6.094 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001598/0.8265, allocations: 498.7 kB / 393.4 MB, free: 5.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.8265, allocations: 0 / 393.4 MB, free: 5.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003045/0.8296, allocations: 204 kB / 393.6 MB, free: 5.41 MB / 314.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.000293/0.8299, allocations: 115 kB / 393.8 MB, free: 5.285 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.8321, allocations: 0.7626 MB / 394.5 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8321, allocations: 1.062 kB / 394.5 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.8332, allocations: 446.4 kB / 395 MB, free: 4.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.8346, allocations: 158.1 kB / 395.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/0.8432, allocations: 2.785 MB / 397.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.8456, allocations: 1.455 MB / 399.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001223/0.8469, allocations: 169.2 kB / 399.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.8472, allocations: 51.42 kB / 399.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.8472, allocations: 0 / 399.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of Templates: time 0.03972/0.887, allocations: 8.502 MB / 408.1 MB, free: 6.934 MB / 330.7 MB