Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.0943, allocations: 44.5 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5447, allocations: 77.96 MB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.545, allocations: 79.3 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07975/0.6248, allocations: 21.14 MB / 408.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6249, allocations: 0 / 408.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.625, allocations: 34.66 kB / 408.3 MB, free: 10.7 MB / 314.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.004423/0.6294, allocations: 1.527 MB / 409.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6295, allocations: 7.906 kB / 409.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008992/0.6304, allocations: 172.6 kB / 410 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.6328, allocations: 0.9303 MB / 410.9 MB, free: 9.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.775e-05/0.6329, allocations: 99.47 kB / 411 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.6333, allocations: 137.9 kB / 411.1 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/0.638, allocations: 1.84 MB / 413 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.6381, allocations: 0 / 413 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.6383, allocations: 58.5 kB / 413 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.6384, allocations: 34.88 kB / 413 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003861/0.6423, allocations: 1.369 MB / 414.4 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.6538, allocations: 5.017 MB / 419.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.655, allocations: 0.9798 MB / 420.4 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.6551, allocations: 4.594 kB / 420.4 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.6552, allocations: 37.91 kB / 420.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.316e-06/0.6552, allocations: 0 / 420.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.004356/0.6595, allocations: 1.831 MB / 422.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.6596, allocations: 55.25 kB / 422.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.6608, allocations: 0.6776 MB / 423 MB, free: 4.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.6609, allocations: 32.14 kB / 423.1 MB, free: 4.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.6612, allocations: 0.6174 MB / 423.7 MB, free: 4.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.6614, allocations: 142.4 kB / 423.8 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.6614, allocations: 14.19 kB / 423.8 MB, free: 3.926 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6616, allocations: 375.8 kB / 424.2 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.6623, allocations: 288.9 kB / 424.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/0.663, allocations: 418.5 kB / 424.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.6638, allocations: 347 kB / 425.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6638, allocations: 0 / 425.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001991/0.6658, allocations: 0.8597 MB / 426.1 MB, free: 3.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.6659, allocations: 11.38 kB / 426.1 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6659, allocations: 7.75 kB / 426.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.6662, allocations: 78.25 kB / 426.2 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.6671, allocations: 120.8 kB / 426.3 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.6693, allocations: 1.943 MB / 428.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/0.67, allocations: 34.36 kB / 428.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.6701, allocations: 19.44 kB / 428.3 MB, free: 1.465 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.001045/0.6712, allocations: 0.5025 MB / 428.8 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.6714, allocations: 61.94 kB / 428.8 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.6716, allocations: 80.44 kB / 428.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6716, allocations: 3.875 kB / 428.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.6716, allocations: 0 / 428.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.6716, allocations: 7.984 kB / 428.9 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.6764, allocations: 1.961 MB / 430.9 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6764, allocations: 4.062 kB / 430.9 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006966/0.6771, allocations: 75.14 kB / 431 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/0.6774, allocations: 77.45 kB / 431.1 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.6775, allocations: 11.09 kB / 431.1 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.6801, allocations: 1.912 MB / 433 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6801, allocations: 3.156 kB / 433 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.6828, allocations: 1.104 MB / 434.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.6834, allocations: 191 kB / 434.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.6835, allocations: 11.89 kB / 434.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.6844, allocations: 47.16 kB / 434.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/0.6848, allocations: 35.41 kB / 434.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.685, allocations: 11.73 kB / 434.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.6863, allocations: 487.5 kB / 434.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6863, allocations: 0 / 434.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001152/0.6875, allocations: 201.5 kB / 435 MB, free: 13.5 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.0002217/0.6877, allocations: 122.9 kB / 435.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.6896, allocations: 0.7687 MB / 435.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6897, allocations: 0 / 435.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6907, allocations: 446.4 kB / 436.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.692, allocations: 155.7 kB / 436.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/0.6983, allocations: 2.771 MB / 439.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.7, allocations: 1.451 MB / 440.7 MB, free: 9.641 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008847/0.7009, allocations: 173.7 kB / 440.9 MB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.7012, allocations: 43.44 kB / 441 MB, free: 9.461 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.7012, allocations: 0 / 441 MB, free: 9.461 MB / 330.7 MB Notification: Performance of Templates: time 0.02862/0.7298, allocations: 8.508 MB / 449.5 MB, free: 1.02 MB / 330.7 MB