Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09783, allocations: 44.49 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5117, allocations: 77.95 MB / 386.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5121, allocations: 86.23 kB / 387 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07393/0.586, allocations: 21.14 MB / 408.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5861, allocations: 4 kB / 408.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.5862, allocations: 39.06 kB / 408.2 MB, free: 10.33 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.004047/0.5903, allocations: 1.52 MB / 409.7 MB, free: 9.359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5903, allocations: 7.75 kB / 409.7 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009712/0.5913, allocations: 174.8 kB / 409.9 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.5938, allocations: 0.9275 MB / 410.8 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.5939, allocations: 106.8 kB / 410.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/0.5942, allocations: 132.7 kB / 411 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004086/0.5983, allocations: 1.848 MB / 412.9 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/0.5984, allocations: 0 / 412.9 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.5986, allocations: 63.22 kB / 413 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.5986, allocations: 34.22 kB / 413 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/0.6021, allocations: 1.369 MB / 414.4 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.6131, allocations: 5.013 MB / 419.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.6144, allocations: 0.9794 MB / 420.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.6145, allocations: 4.5 kB / 420.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.6145, allocations: 38.03 kB / 420.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.176e-06/0.6146, allocations: 0 / 420.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.004416/0.619, allocations: 1.832 MB / 422.2 MB, free: 4.414 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.6191, allocations: 55.31 kB / 422.3 MB, free: 4.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.6202, allocations: 0.6728 MB / 422.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.6202, allocations: 31.77 kB / 423 MB, free: 4.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.6206, allocations: 0.6537 MB / 423.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.6207, allocations: 147.4 kB / 423.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.6207, allocations: 11.5 kB / 423.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.6208, allocations: 334 kB / 424.1 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/0.6215, allocations: 281.7 kB / 424.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/0.6222, allocations: 415.8 kB / 424.8 MB, free: 2.922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.623, allocations: 351.9 kB / 425.1 MB, free: 2.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.623, allocations: 3.938 kB / 425.1 MB, free: 2.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001794/0.6248, allocations: 0.8188 MB / 426 MB, free: 2.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6248, allocations: 3.875 kB / 426 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6248, allocations: 11.75 kB / 426 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.6252, allocations: 78.66 kB / 426.1 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008616/0.6261, allocations: 117 kB / 426.2 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.6283, allocations: 1.934 MB / 428.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/0.6291, allocations: 37.67 kB / 428.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.6292, allocations: 22.77 kB / 428.2 MB, free: 1.09 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.001116/0.6303, allocations: 0.4996 MB / 428.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6305, allocations: 60.25 kB / 428.7 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.6307, allocations: 78.78 kB / 428.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6307, allocations: 7.875 kB / 428.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6307, allocations: 0 / 428.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.6307, allocations: 3.984 kB / 428.8 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/0.635, allocations: 1.966 MB / 430.8 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.635, allocations: 0 / 430.8 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.6356, allocations: 75.48 kB / 430.8 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/0.6359, allocations: 81.11 kB / 430.9 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.636, allocations: 12.3 kB / 430.9 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.6386, allocations: 1.92 MB / 432.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6386, allocations: 7.906 kB / 432.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.6413, allocations: 1.089 MB / 434 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.6419, allocations: 195.8 kB / 434.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.642, allocations: 18.39 kB / 434.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.6426, allocations: 35.25 kB / 434.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.6428, allocations: 39.86 kB / 434.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.6428, allocations: 13.59 kB / 434.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009483/0.6438, allocations: 487.2 kB / 434.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.076e-06/0.6438, allocations: 0 / 434.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001018/0.6448, allocations: 206.2 kB / 434.9 MB, free: 13.21 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.000213/0.6451, allocations: 118.5 kB / 435 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.6469, allocations: 0.7628 MB / 435.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.647, allocations: 0 / 435.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.648, allocations: 456.8 kB / 436.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.6492, allocations: 148 kB / 436.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.6559, allocations: 2.773 MB / 439.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.6575, allocations: 1.415 MB / 440.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.6579, allocations: 50.08 kB / 440.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6579, allocations: 0 / 440.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of Templates: time 0.04319/0.7011, allocations: 18.99 MB / 459.6 MB, free: 7.137 MB / 346.7 MB