Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.87e-05, allocations: 7.984 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.09327, allocations: 50.42 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.465, allocations: 89.77 MB / 432.3 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4652, allocations: 77.39 kB / 432.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8458/1.311, allocations: 209.1 MB / 0.6265 GB, free: 66.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.564e-06/1.311, allocations: 0 / 0.6265 GB, free: 66.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000261/1.311, allocations: 131.9 kB / 0.6266 GB, free: 65.91 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.02311/1.335, allocations: 5.875 MB / 0.6323 GB, free: 59.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.335, allocations: 8.031 kB / 0.6323 GB, free: 59.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0186/1.353, allocations: 2.085 MB / 0.6344 GB, free: 57.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00899/1.362, allocations: 3.834 MB / 0.6381 GB, free: 53.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/1.363, allocations: 452.2 kB / 0.6386 GB, free: 53.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/1.364, allocations: 0.5742 MB / 0.6391 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/1.384, allocations: 9.017 MB / 0.6479 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/1.385, allocations: 11.89 kB / 0.6479 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000871/1.385, allocations: 259.9 kB / 0.6482 GB, free: 43.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004461/1.386, allocations: 461.2 kB / 0.6486 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/1.402, allocations: 7.052 MB / 0.6555 GB, free: 35.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04981/1.452, allocations: 28.65 MB / 0.6835 GB, free: 6.441 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2849/1.737, allocations: 11.68 MB / 0.6949 GB, free: 65.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003735/1.741, allocations: 1.633 MB / 0.6965 GB, free: 65.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/1.741, allocations: 138.4 kB / 0.6966 GB, free: 65.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/1.741, allocations: 60.62 kB / 0.6967 GB, free: 65.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 7.116e-06/1.741, allocations: 0 / 0.6967 GB, free: 65.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.006632/1.748, allocations: 2.664 MB / 0.6993 GB, free: 65.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/1.748, allocations: 107.5 kB / 0.6994 GB, free: 65.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/1.752, allocations: 1.677 MB / 0.701 GB, free: 65.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003786/1.752, allocations: 64.77 kB / 0.7011 GB, free: 65.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/1.754, allocations: 2.513 MB / 0.7035 GB, free: 63.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.755, allocations: 0.8498 MB / 0.7044 GB, free: 63.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/1.755, allocations: 70 kB / 0.7044 GB, free: 63.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/1.755, allocations: 459.5 kB / 0.7049 GB, free: 63.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/1.759, allocations: 1.419 MB / 0.7063 GB, free: 63.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/1.764, allocations: 2.579 MB / 0.7088 GB, free: 61.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/1.768, allocations: 2.047 MB / 0.7108 GB, free: 61.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.316e-05/1.768, allocations: 11.78 kB / 0.7108 GB, free: 61.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.01032/1.778, allocations: 4.384 MB / 0.7151 GB, free: 61.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/1.778, allocations: 22.69 kB / 0.7151 GB, free: 61.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.588e-05/1.778, allocations: 37.56 kB / 0.7151 GB, free: 61.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000982/1.779, allocations: 315.2 kB / 0.7154 GB, free: 61.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/1.783, allocations: 0.7731 MB / 0.7162 GB, free: 61.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006195/1.79, allocations: 4.616 MB / 0.7207 GB, free: 58.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/1.793, allocations: 414.8 kB / 0.7211 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006462/1.794, allocations: 170.2 kB / 0.7212 GB, free: 58.54 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.0006939/1.794, allocations: 322.5 kB / 0.7216 GB, free: 58.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/1.795, allocations: 214.3 kB / 0.7218 GB, free: 58.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007189/1.802, allocations: 3.278 MB / 0.725 GB, free: 58.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.905e-05/1.802, allocations: 32.69 kB / 0.725 GB, free: 58.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.802, allocations: 3.188 kB / 0.725 GB, free: 58.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.334e-05/1.802, allocations: 14.39 kB / 0.725 GB, free: 58.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/1.827, allocations: 11.82 MB / 0.7365 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.753e-05/1.827, allocations: 18.69 kB / 0.7366 GB, free: 55.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/1.829, allocations: 434.8 kB / 0.737 GB, free: 55.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/1.83, allocations: 272.9 kB / 0.7372 GB, free: 55.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003486/1.831, allocations: 67.73 kB / 0.7373 GB, free: 55.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005579/1.836, allocations: 4.545 MB / 0.7417 GB, free: 52.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/1.836, allocations: 26.42 kB / 0.7418 GB, free: 52.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009523/1.846, allocations: 6.081 MB / 0.7477 GB, free: 50.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/1.847, allocations: 333.6 kB / 0.748 GB, free: 50.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005101/1.847, allocations: 63.17 kB / 0.7481 GB, free: 50.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.849, allocations: 123.5 kB / 0.7482 GB, free: 50.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/1.849, allocations: 211.8 kB / 0.7484 GB, free: 50.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/1.85, allocations: 85.47 kB / 0.7485 GB, free: 50.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002423/1.852, allocations: 1.261 MB / 0.7497 GB, free: 50.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.852, allocations: 0 / 0.7497 GB, free: 50.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005463/1.858, allocations: 1.449 MB / 0.7511 GB, free: 49.84 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.0007866/1.858, allocations: 282.4 kB / 0.7514 GB, free: 49.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007239/1.866, allocations: 3.594 MB / 0.7549 GB, free: 48.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/1.866, allocations: 0.9375 kB / 0.7549 GB, free: 48.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/1.869, allocations: 1.69 MB / 0.7566 GB, free: 47.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/1.872, allocations: 467.8 kB / 0.757 GB, free: 47.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.891, allocations: 8.077 MB / 0.7649 GB, free: 44.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005812/1.896, allocations: 4.001 MB / 0.7688 GB, free: 42.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.898, allocations: 221.5 kB / 0.769 GB, free: 42.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.619e-06/1.898, allocations: 0 / 0.769 GB, free: 42.85 MB / 442.7 MB Notification: Performance of Templates: time 0.4271/2.325, allocations: 118.5 MB / 0.8847 GB, free: 108 MB / 474.7 MB