Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.835e-05, allocations: 4 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4679, allocations: 89.7 MB / 432.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4682, allocations: 81.7 kB / 432.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8871/1.355, allocations: 209.1 MB / 0.6269 GB, free: 65.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.565e-06/1.355, allocations: 0 / 0.6269 GB, free: 65.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004212/1.356, allocations: 143.9 kB / 0.6271 GB, free: 65.69 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.0219/1.378, allocations: 5.867 MB / 0.6328 GB, free: 59.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.378, allocations: 16.03 kB / 0.6328 GB, free: 59.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02541/1.403, allocations: 2.073 MB / 0.6348 GB, free: 57.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008665/1.412, allocations: 3.831 MB / 0.6386 GB, free: 53.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/1.412, allocations: 456.2 kB / 0.639 GB, free: 53.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/1.414, allocations: 0.582 MB / 0.6396 GB, free: 52.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/1.431, allocations: 9.013 MB / 0.6484 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/1.431, allocations: 11.91 kB / 0.6484 GB, free: 43.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008297/1.432, allocations: 259.9 kB / 0.6486 GB, free: 43.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004442/1.432, allocations: 461.2 kB / 0.6491 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/1.446, allocations: 7.052 MB / 0.656 GB, free: 35.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04382/1.49, allocations: 28.65 MB / 0.6839 GB, free: 6.211 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2707/1.761, allocations: 11.68 MB / 0.6954 GB, free: 66.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/1.764, allocations: 1.632 MB / 0.6969 GB, free: 66.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/1.764, allocations: 142.5 kB / 0.6971 GB, free: 66.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/1.764, allocations: 58.48 kB / 0.6971 GB, free: 66.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 7.413e-06/1.764, allocations: 0 / 0.6971 GB, free: 66.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.005717/1.77, allocations: 2.662 MB / 0.6997 GB, free: 66.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.77, allocations: 104.5 kB / 0.6998 GB, free: 66.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/1.773, allocations: 1.676 MB / 0.7015 GB, free: 66.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/1.774, allocations: 66.95 kB / 0.7015 GB, free: 66.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.775, allocations: 2.525 MB / 0.704 GB, free: 65.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007018/1.776, allocations: 0.8479 MB / 0.7048 GB, free: 64.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/1.776, allocations: 73.66 kB / 0.7049 GB, free: 64.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002647/1.776, allocations: 457.3 kB / 0.7053 GB, free: 64.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/1.779, allocations: 1.419 MB / 0.7067 GB, free: 64.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/1.783, allocations: 2.586 MB / 0.7092 GB, free: 63.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.786, allocations: 2.034 MB / 0.7112 GB, free: 62.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.543e-05/1.787, allocations: 12.59 kB / 0.7112 GB, free: 62.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.008276/1.795, allocations: 4.455 MB / 0.7156 GB, free: 62.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/1.795, allocations: 21.59 kB / 0.7156 GB, free: 62.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.795e-05/1.795, allocations: 40.62 kB / 0.7157 GB, free: 62.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000941/1.796, allocations: 317.8 kB / 0.716 GB, free: 62.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/1.799, allocations: 0.7721 MB / 0.7167 GB, free: 62.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/1.805, allocations: 4.619 MB / 0.7212 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/1.807, allocations: 415.3 kB / 0.7216 GB, free: 59.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/1.808, allocations: 169.5 kB / 0.7218 GB, free: 59.78 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005769/1.808, allocations: 320.2 kB / 0.7221 GB, free: 59.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/1.809, allocations: 212.2 kB / 0.7223 GB, free: 59.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006229/1.815, allocations: 3.288 MB / 0.7255 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/1.815, allocations: 24.97 kB / 0.7255 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/1.815, allocations: 6.281 kB / 0.7255 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/1.815, allocations: 17.08 kB / 0.7255 GB, free: 59.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.834, allocations: 11.81 MB / 0.7371 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/1.835, allocations: 15.41 kB / 0.7371 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.837, allocations: 440.3 kB / 0.7375 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008257/1.838, allocations: 272 kB / 0.7378 GB, free: 56.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/1.838, allocations: 72.33 kB / 0.7378 GB, free: 56.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/1.843, allocations: 4.528 MB / 0.7423 GB, free: 54.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-05/1.843, allocations: 25.27 kB / 0.7423 GB, free: 54.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008084/1.851, allocations: 6.087 MB / 0.7482 GB, free: 51.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005121/1.851, allocations: 338 kB / 0.7486 GB, free: 51.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003654/1.852, allocations: 62.58 kB / 0.7486 GB, free: 51.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.853, allocations: 135.1 kB / 0.7487 GB, free: 51.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/1.854, allocations: 202.7 kB / 0.7489 GB, free: 51.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.854, allocations: 93.72 kB / 0.749 GB, free: 51.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002012/1.856, allocations: 1.26 MB / 0.7503 GB, free: 51.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.57e-07/1.856, allocations: 0 / 0.7503 GB, free: 51.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004236/1.86, allocations: 1.455 MB / 0.7517 GB, free: 51.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000473/1.861, allocations: 258 kB / 0.7519 GB, free: 50.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005975/1.867, allocations: 3.596 MB / 0.7554 GB, free: 49.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.453e-06/1.867, allocations: 4.062 kB / 0.7554 GB, free: 49.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/1.87, allocations: 1.689 MB / 0.7571 GB, free: 49.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/1.872, allocations: 474 kB / 0.7575 GB, free: 48.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.887, allocations: 8.228 MB / 0.7656 GB, free: 45.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00487/1.892, allocations: 4.096 MB / 0.7696 GB, free: 43.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004273/1.896, allocations: 1.212 MB / 0.7708 GB, free: 43.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007566/1.897, allocations: 187.9 kB / 0.7709 GB, free: 43.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.601e-06/1.897, allocations: 0 / 0.7709 GB, free: 43.72 MB / 442.7 MB Notification: Performance of Templates: time 0.1065/2.003, allocations: 29.75 MB / 0.8 GB, free: 30.95 MB / 442.7 MB