Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 1.799/1.799, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/2.998e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08638, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4313, allocations: 89.34 MB / 406.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4316, allocations: 88.08 kB / 406.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8563/1.288, allocations: 218.3 MB / 0.61 GB, free: 66.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.99e-06/1.288, allocations: 0 / 0.61 GB, free: 66.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002258/1.288, allocations: 139.9 kB / 0.6102 GB, free: 66.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02013/1.308, allocations: 6.17 MB / 0.6162 GB, free: 60.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/1.308, allocations: 11.97 kB / 0.6162 GB, free: 60 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02618/1.335, allocations: 3.509 MB / 0.6196 GB, free: 56.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009182/1.344, allocations: 3.943 MB / 0.6235 GB, free: 52.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005198/1.344, allocations: 0.4927 MB / 0.624 GB, free: 52.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/1.346, allocations: 0.6381 MB / 0.6246 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/1.369, allocations: 10.68 MB / 0.635 GB, free: 40.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/1.369, allocations: 11.84 kB / 0.635 GB, free: 40.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009961/1.37, allocations: 278.5 kB / 0.6353 GB, free: 40.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004401/1.37, allocations: 469.7 kB / 0.6357 GB, free: 39.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/1.389, allocations: 9.505 MB / 0.645 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3129/1.702, allocations: 33.52 MB / 0.6777 GB, free: 62.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/1.719, allocations: 13.27 MB / 0.6907 GB, free: 54.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00899/1.729, allocations: 4.779 MB / 0.6954 GB, free: 54.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03034/1.759, allocations: 15.17 MB / 0.7102 GB, free: 52.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/1.759, allocations: 73.09 kB / 0.7103 GB, free: 52.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=480): time 9.765e-06/1.759, allocations: 0 / 0.7103 GB, free: 52.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=480): time 0.01513/1.774, allocations: 7.791 MB / 0.7179 GB, free: 51.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.774, allocations: 118.2 kB / 0.718 GB, free: 51.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/1.777, allocations: 1.541 MB / 0.7195 GB, free: 51.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006585/1.778, allocations: 84.2 kB / 0.7196 GB, free: 51.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.779, allocations: 2.418 MB / 0.7219 GB, free: 50.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001701/1.781, allocations: 1.588 MB / 0.7235 GB, free: 49.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004319/1.781, allocations: 85 kB / 0.7236 GB, free: 49.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003377/1.782, allocations: 0.5201 MB / 0.7241 GB, free: 49.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005757/1.787, allocations: 3.074 MB / 0.7271 GB, free: 49.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007097/1.794, allocations: 4.097 MB / 0.7311 GB, free: 48.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007347/1.802, allocations: 3.76 MB / 0.7347 GB, free: 47.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-05/1.802, allocations: 6.812 kB / 0.7347 GB, free: 47.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=674) (initialization): time 0.01907/1.821, allocations: 9.227 MB / 0.7438 GB, free: 44.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/1.821, allocations: 22.36 kB / 0.7438 GB, free: 44.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.357e-05/1.821, allocations: 29.69 kB / 0.7438 GB, free: 44.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006193/1.827, allocations: 2.7 MB / 0.7464 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/1.832, allocations: 0.7566 MB / 0.7472 GB, free: 43.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/1.843, allocations: 9.654 MB / 0.7566 GB, free: 36.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/1.847, allocations: 0.5026 MB / 0.7571 GB, free: 36.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006816/1.848, allocations: 213.7 kB / 0.7573 GB, free: 36.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009863/1.849, allocations: 348.5 kB / 0.7576 GB, free: 36.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/1.85, allocations: 263.8 kB / 0.7579 GB, free: 36.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/1.867, allocations: 8.544 MB / 0.7662 GB, free: 32.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001866/1.867, allocations: 152.8 kB / 0.7664 GB, free: 32.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.867, allocations: 0 / 0.7664 GB, free: 32.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.192e-05/1.867, allocations: 17.2 kB / 0.7664 GB, free: 32.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/1.88, allocations: 7.046 MB / 0.7733 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.437e-05/1.88, allocations: 0 / 0.7733 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002794/1.883, allocations: 423.1 kB / 0.7737 GB, free: 29.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006326/1.89, allocations: 2.667 MB / 0.7763 GB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007797/1.89, allocations: 108.4 kB / 0.7764 GB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/1.902, allocations: 9.593 MB / 0.7857 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.395e-06/1.902, allocations: 2.531 kB / 0.7858 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02178/1.924, allocations: 12.63 MB / 0.7981 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008938/1.924, allocations: 427.1 kB / 0.7985 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009903/1.925, allocations: 63.94 kB / 0.7986 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.928, allocations: 138 kB / 0.7987 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009319/1.928, allocations: 358.8 kB / 0.799 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004574/1.929, allocations: 129.6 kB / 0.7992 GB, free: 7.844 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001914/1.931, allocations: 1.122 MB / 0.8003 GB, free: 6.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.96e-07/1.931, allocations: 2.344 kB / 0.8003 GB, free: 6.852 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005061/1.936, allocations: 1.59 MB / 0.8018 GB, free: 5.262 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (251): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007731/1.937, allocations: 224.7 kB / 0.802 GB, free: 5.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02245/1.959, allocations: 7.855 MB / 0.8097 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.96e-06/1.959, allocations: 9.297 kB / 0.8097 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008843/1.968, allocations: 3.754 MB / 0.8134 GB, free: 12.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/1.971, allocations: 445.3 kB / 0.8138 GB, free: 11.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02716/1.998, allocations: 11.8 MB / 0.8253 GB, free: 1.566 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006312/2.005, allocations: 4.405 MB / 0.8296 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003913/2.009, allocations: 0.8701 MB / 0.8305 GB, free: 13.56 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008469/2.01, allocations: 183.1 kB / 0.8306 GB, free: 13.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.823e-06/2.01, allocations: 4 kB / 0.8306 GB, free: 13.39 MB / 458.7 MB Notification: Performance of Templates: time 0.3985/2.408, allocations: 65.96 MB / 0.8951 GB, free: 93.63 MB / 458.7 MB