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.557/1.557, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.089e-05, allocations: 4 kB / 225 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 38.78 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3202, allocations: 72.53 MB / 336.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.3205, allocations: 71.95 kB / 336.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08317/0.4037, allocations: 21.47 MB / 357.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.316e-06/0.4038, allocations: 0 / 357.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.703e-05/0.4039, allocations: 39.94 kB / 357.9 MB, free: 11.53 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.003168/0.407, allocations: 1.417 MB / 359.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4071, allocations: 12.03 kB / 359.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007033/0.4078, allocations: 174.2 kB / 359.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.41, allocations: 0.935 MB / 360.4 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.4101, allocations: 106.8 kB / 360.5 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003037/0.4104, allocations: 140 kB / 360.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/0.4144, allocations: 1.773 MB / 362.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.4145, allocations: 0 / 362.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.4147, allocations: 60 kB / 362.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.4148, allocations: 36 kB / 362.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.4179, allocations: 1.29 MB / 363.8 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.429, allocations: 5.01 MB / 368.8 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1812/0.6103, allocations: 0.9469 MB / 369.8 MB, free: 81.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.6115, allocations: 463.5 kB / 370.2 MB, free: 81.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.6115, allocations: 8.531 kB / 370.2 MB, free: 81.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.6116, allocations: 37.05 kB / 370.3 MB, free: 81.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.92e-06/0.6116, allocations: 1.734 kB / 370.3 MB, free: 81.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003354/0.615, allocations: 1.569 MB / 371.8 MB, free: 81.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.615, allocations: 57.55 kB / 371.9 MB, free: 81.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009528/0.616, allocations: 0.6026 MB / 372.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.6161, allocations: 36.77 kB / 372.5 MB, free: 81.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.6164, allocations: 0.6436 MB / 373.2 MB, free: 80.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.6165, allocations: 151.5 kB / 373.3 MB, free: 80.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.6166, allocations: 13 kB / 373.3 MB, free: 80.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.6166, allocations: 333.8 kB / 373.7 MB, free: 80.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.6171, allocations: 262.2 kB / 373.9 MB, free: 80.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.6176, allocations: 388.1 kB / 374.3 MB, free: 80.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.6182, allocations: 326.8 kB / 374.6 MB, free: 80.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.747e-06/0.6182, allocations: 0 / 374.6 MB, free: 80.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001482/0.6197, allocations: 0.7826 MB / 375.4 MB, free: 80.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6197, allocations: 9.781 kB / 375.4 MB, free: 80.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6198, allocations: 3.906 kB / 375.4 MB, free: 80.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.6201, allocations: 101.1 kB / 375.5 MB, free: 80.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.6207, allocations: 113.9 kB / 375.6 MB, free: 80.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.6231, allocations: 2.137 MB / 377.7 MB, free: 78.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.6237, allocations: 31.81 kB / 377.8 MB, free: 78.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.6238, allocations: 18.44 kB / 377.8 MB, free: 78.96 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.624, allocations: 138.2 kB / 377.9 MB, free: 78.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.6241, allocations: 68.33 kB / 378 MB, free: 78.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.6244, allocations: 78.8 kB / 378.1 MB, free: 78.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-06/0.6244, allocations: 9.75 kB / 378.1 MB, free: 78.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6244, allocations: 0 / 378.1 MB, free: 78.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.239e-06/0.6244, allocations: 3.656 kB / 378.1 MB, free: 78.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/0.6283, allocations: 1.987 MB / 380.1 MB, free: 78.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.746e-06/0.6283, allocations: 3.969 kB / 380.1 MB, free: 78.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.6287, allocations: 72.39 kB / 380.1 MB, free: 78.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003024/0.6291, allocations: 103.5 kB / 380.3 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.6291, allocations: 14.34 kB / 380.3 MB, free: 78.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.6312, allocations: 2.082 MB / 382.3 MB, free: 77.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.069e-06/0.6313, allocations: 0 / 382.3 MB, free: 77.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.633, allocations: 1.12 MB / 383.5 MB, free: 76.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.6333, allocations: 199.2 kB / 383.7 MB, free: 76.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6335, allocations: 11.44 kB / 383.7 MB, free: 76.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.634, allocations: 39.91 kB / 383.7 MB, free: 76.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.6341, allocations: 43.14 kB / 383.8 MB, free: 76.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.6342, allocations: 11.12 kB / 383.8 MB, free: 76.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006996/0.6349, allocations: 489.3 kB / 384.2 MB, free: 76.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.157e-06/0.6349, allocations: 3.438 kB / 384.2 MB, free: 76.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001059/0.636, allocations: 205.8 kB / 384.4 MB, free: 76.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/0.6362, allocations: 122.8 kB / 384.6 MB, free: 76.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.6375, allocations: 0.7114 MB / 385.3 MB, free: 75.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.018e-06/0.6376, allocations: 1.562 kB / 385.3 MB, free: 75.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.6384, allocations: 452.9 kB / 385.7 MB, free: 75.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.6395, allocations: 156.8 kB / 385.9 MB, free: 75.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.6432, allocations: 1.806 MB / 387.7 MB, free: 74.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.6443, allocations: 1.421 MB / 389.1 MB, free: 74.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.6446, allocations: 49.03 kB / 389.1 MB, free: 74.01 MB / 314.7 MB Notification: Performance of SimCode: time 1.756e-06/0.6446, allocations: 4 kB / 389.2 MB, free: 74.01 MB / 314.7 MB Notification: Performance of Templates: time 0.02413/0.6688, allocations: 18.87 MB / 408 MB, free: 61.62 MB / 314.7 MB