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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 225.8 MB / 238.9 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.946e-05, allocations: 4 kB / 292.2 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.08902, allocations: 50.41 MB / 342.6 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3974/0.4865, allocations: 89.7 MB / 432.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003968/0.4869, allocations: 78.39 kB / 432.3 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8293/1.316, allocations: 209.1 MB / 0.6264 GB, free: 65.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.222e-06/1.316, allocations: 4 kB / 0.6264 GB, free: 65.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002226/1.317, allocations: 135.9 kB / 0.6266 GB, free: 65.73 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.02036/1.337, allocations: 5.871 MB / 0.6323 GB, free: 59.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.337, allocations: 12.03 kB / 0.6323 GB, free: 59.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01635/1.353, allocations: 2.073 MB / 0.6343 GB, free: 57.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008917/1.362, allocations: 3.834 MB / 0.6381 GB, free: 53.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/1.363, allocations: 456.2 kB / 0.6385 GB, free: 53.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/1.364, allocations: 0.5781 MB / 0.6391 GB, free: 52.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/1.384, allocations: 9.013 MB / 0.6479 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/1.384, allocations: 11.91 kB / 0.6479 GB, free: 43.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009805/1.385, allocations: 263.9 kB / 0.6481 GB, free: 43.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004474/1.386, allocations: 461.2 kB / 0.6486 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/1.402, allocations: 7.044 MB / 0.6555 GB, free: 35.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04819/1.45, allocations: 28.66 MB / 0.6834 GB, free: 6.242 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2735/1.724, allocations: 11.67 MB / 0.6948 GB, free: 66.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003333/1.727, allocations: 1.634 MB / 0.6964 GB, free: 66.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/1.728, allocations: 138.7 kB / 0.6966 GB, free: 66.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/1.728, allocations: 64.31 kB / 0.6966 GB, free: 66.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 6.953e-06/1.728, allocations: 0 / 0.6966 GB, free: 66.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.005878/1.733, allocations: 2.659 MB / 0.6992 GB, free: 66.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.734, allocations: 106.4 kB / 0.6993 GB, free: 66.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/1.737, allocations: 1.67 MB / 0.701 GB, free: 66.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/1.737, allocations: 65.98 kB / 0.701 GB, free: 66.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.739, allocations: 2.532 MB / 0.7035 GB, free: 65.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007049/1.739, allocations: 0.8463 MB / 0.7043 GB, free: 64.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/1.74, allocations: 71.53 kB / 0.7044 GB, free: 64.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002559/1.74, allocations: 459.5 kB / 0.7048 GB, free: 64.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.743, allocations: 1.417 MB / 0.7062 GB, free: 64.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/1.746, allocations: 2.582 MB / 0.7087 GB, free: 63.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/1.75, allocations: 2.05 MB / 0.7107 GB, free: 63.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/1.75, allocations: 11.34 kB / 0.7107 GB, free: 63.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.008898/1.759, allocations: 4.452 MB / 0.7151 GB, free: 62.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/1.759, allocations: 22.03 kB / 0.7151 GB, free: 62.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.503e-05/1.759, allocations: 39.77 kB / 0.7152 GB, free: 62.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/1.76, allocations: 314.5 kB / 0.7155 GB, free: 62.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/1.764, allocations: 0.7721 MB / 0.7162 GB, free: 62.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/1.77, allocations: 4.614 MB / 0.7207 GB, free: 60.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/1.773, allocations: 423.8 kB / 0.7211 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006677/1.774, allocations: 164.2 kB / 0.7213 GB, free: 59.89 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.000688/1.774, allocations: 319.6 kB / 0.7216 GB, free: 59.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/1.775, allocations: 212.8 kB / 0.7218 GB, free: 59.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006931/1.782, allocations: 3.281 MB / 0.725 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/1.782, allocations: 32 kB / 0.725 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.782, allocations: 7.562 kB / 0.725 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/1.782, allocations: 11.72 kB / 0.725 GB, free: 59.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/1.804, allocations: 11.82 MB / 0.7366 GB, free: 57.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.804, allocations: 11.16 kB / 0.7366 GB, free: 57.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.806, allocations: 435.2 kB / 0.737 GB, free: 57.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000967/1.807, allocations: 273.1 kB / 0.7373 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/1.808, allocations: 68.81 kB / 0.7373 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005615/1.813, allocations: 4.537 MB / 0.7418 GB, free: 54.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/1.813, allocations: 34.09 kB / 0.7418 GB, free: 54.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009166/1.822, allocations: 6.08 MB / 0.7477 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/1.823, allocations: 344.6 kB / 0.7481 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/1.824, allocations: 60.98 kB / 0.7481 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.826, allocations: 125.9 kB / 0.7482 GB, free: 51.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.826, allocations: 209.8 kB / 0.7484 GB, free: 51.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.826, allocations: 88.45 kB / 0.7485 GB, free: 51.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002222/1.828, allocations: 1.264 MB / 0.7498 GB, free: 51.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.168e-06/1.828, allocations: 0 / 0.7498 GB, free: 51.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004676/1.833, allocations: 1.445 MB / 0.7512 GB, free: 51.2 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.0005486/1.834, allocations: 269.1 kB / 0.7514 GB, free: 51.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006487/1.84, allocations: 3.596 MB / 0.7549 GB, free: 49.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.84, allocations: 3.031 kB / 0.7549 GB, free: 49.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003083/1.843, allocations: 1.696 MB / 0.7566 GB, free: 49.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/1.846, allocations: 457.8 kB / 0.757 GB, free: 49.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.863, allocations: 8.225 MB / 0.7651 GB, free: 45.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004993/1.868, allocations: 4.103 MB / 0.7691 GB, free: 43.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004212/1.873, allocations: 1.207 MB / 0.7702 GB, free: 43.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007696/1.873, allocations: 187.2 kB / 0.7704 GB, free: 43.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.751e-06/1.873, allocations: 0 / 0.7704 GB, free: 43.85 MB / 442.7 MB Notification: Performance of Templates: time 0.07774/1.951, allocations: 29.76 MB / 0.7995 GB, free: 31.05 MB / 442.7 MB