Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.814/1.814, allocations: 171.1 MB / 187.3 MB, free: 1.145 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 8 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08207/0.08247, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4308, allocations: 72.62 MB / 345.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.4311, allocations: 82.58 kB / 345.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08443/0.5155, allocations: 21.45 MB / 366.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5156, allocations: 0 / 366.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001149/0.5157, allocations: 39.94 kB / 366.7 MB, free: 15.27 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.004745/0.5205, allocations: 1.519 MB / 368.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5206, allocations: 8.031 kB / 368.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/0.5215, allocations: 182 kB / 368.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.5241, allocations: 0.934 MB / 369.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.5242, allocations: 102.7 kB / 369.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/0.5246, allocations: 139.8 kB / 369.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.5295, allocations: 1.843 MB / 371.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.5296, allocations: 0 / 371.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.5298, allocations: 59.75 kB / 371.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/0.5299, allocations: 39.94 kB / 371.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.534, allocations: 1.371 MB / 372.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.5466, allocations: 5.01 MB / 377.9 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.5482, allocations: 0.9791 MB / 378.9 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.288e-05/0.5483, allocations: 7.984 kB / 378.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.5483, allocations: 38.56 kB / 378.9 MB, free: 5.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 4.979e-06/0.5483, allocations: 7.938 kB / 379 MB, free: 5.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.004929/0.5533, allocations: 1.83 MB / 380.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.5533, allocations: 55.41 kB / 380.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.5547, allocations: 0.6865 MB / 381.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.5548, allocations: 29.7 kB / 381.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/0.5553, allocations: 0.6406 MB / 382.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5555, allocations: 161.7 kB / 382.4 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.5555, allocations: 12 kB / 382.4 MB, free: 1.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5557, allocations: 330.8 kB / 382.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007772/0.5564, allocations: 280.9 kB / 383 MB, free: 1.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/0.5573, allocations: 417.3 kB / 383.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/0.5582, allocations: 344.6 kB / 383.7 MB, free: 308 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5582, allocations: 3.953 kB / 383.7 MB, free: 304 kB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002143/0.5604, allocations: 0.813 MB / 384.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5604, allocations: 8 kB / 384.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.5605, allocations: 4 kB / 384.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.5608, allocations: 84.77 kB / 384.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008873/0.5617, allocations: 123.9 kB / 384.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.5645, allocations: 1.936 MB / 386.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.5652, allocations: 28.23 kB / 386.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.5653, allocations: 27.92 kB / 386.7 MB, free: 13.13 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.001194/0.5665, allocations: 0.5013 MB / 387.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.5667, allocations: 67.31 kB / 387.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.567, allocations: 82.09 kB / 387.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.567, allocations: 4 kB / 387.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.567, allocations: 3.984 kB / 387.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.567, allocations: 4 kB / 387.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/0.572, allocations: 1.968 MB / 389.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.5721, allocations: 3.938 kB / 389.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.5728, allocations: 75.89 kB / 389.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/0.5731, allocations: 80.8 kB / 389.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.5732, allocations: 15.98 kB / 389.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.5758, allocations: 1.92 MB / 391.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5759, allocations: 0 / 391.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.5787, allocations: 1.084 MB / 392.5 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/0.5793, allocations: 200.4 kB / 392.7 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.5795, allocations: 15.98 kB / 392.7 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/0.5802, allocations: 31.97 kB / 392.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.5803, allocations: 31.95 kB / 392.8 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.5804, allocations: 19.92 kB / 392.8 MB, free: 6.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.5814, allocations: 490.7 kB / 393.3 MB, free: 6.293 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.5815, allocations: 4 kB / 393.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001243/0.5827, allocations: 204 kB / 393.5 MB, free: 6.09 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.0002627/0.583, allocations: 123 kB / 393.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.5852, allocations: 0.7548 MB / 394.4 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.5852, allocations: 5.062 kB / 394.4 MB, free: 5.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5864, allocations: 446.3 kB / 394.8 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5878, allocations: 163 kB / 395 MB, free: 4.574 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/0.5943, allocations: 2.772 MB / 397.8 MB, free: 1.758 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.5959, allocations: 1.422 MB / 399.2 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.5963, allocations: 51.42 kB / 399.2 MB, free: 264 kB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5963, allocations: 0 / 399.2 MB, free: 264 kB / 314.7 MB Notification: Performance of Templates: time 0.03997/0.6363, allocations: 18.99 MB / 418.2 MB, free: 13.27 MB / 346.7 MB