Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.043e-05, allocations: 0 / 348.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3528, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.5846, allocations: 115.8 MB / 0.5138 GB, free: 6.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5849, allocations: 75.95 kB / 0.5138 GB, free: 6.656 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.401/2.986, allocations: 469.4 MB / 0.9722 GB, free: 63.28 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.763e-06/2.986, allocations: 0 / 0.9722 GB, free: 63.28 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0007961/2.987, allocations: 300.1 kB / 0.9725 GB, free: 63.25 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.0589/3.046, allocations: 13.39 MB / 0.9856 GB, free: 59.65 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/3.046, allocations: 11.56 kB / 0.9856 GB, free: 59.65 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05318/3.099, allocations: 7.877 MB / 0.9933 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0244/3.124, allocations: 9.064 MB / 1.002 GB, free: 57.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/3.125, allocations: 1.001 MB / 1.003 GB, free: 57.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005365/3.13, allocations: 1.285 MB / 1.004 GB, free: 57.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06186/3.192, allocations: 22.74 MB / 1.027 GB, free: 56.14 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000578/3.193, allocations: 19.03 kB / 1.027 GB, free: 56.13 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004961/3.198, allocations: 0.5559 MB / 1.027 GB, free: 56.13 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001435/3.199, allocations: 1.025 MB / 1.028 GB, free: 56.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04903/3.248, allocations: 19.33 MB / 1.047 GB, free: 50.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1801/3.428, allocations: 72.18 MB / 1.118 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3977/3.826, allocations: 28.42 MB / 1.145 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009786/3.836, allocations: 4.798 MB / 1.15 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03851/3.875, allocations: 15.8 MB / 1.165 GB, free: 46.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.368e-05/3.875, allocations: 82.09 kB / 1.165 GB, free: 46.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=465): time 9.481e-06/3.875, allocations: 1.844 kB / 1.165 GB, free: 46.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=465): time 0.01747/3.892, allocations: 8.074 MB / 1.173 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/3.892, allocations: 126.8 kB / 1.173 GB, free: 46.47 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/3.903, allocations: 4.519 MB / 1.178 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000844/3.904, allocations: 98.58 kB / 1.178 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004161/3.908, allocations: 5.863 MB / 1.184 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002056/3.91, allocations: 1.576 MB / 1.185 GB, free: 42.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008496/3.911, allocations: 150.1 kB / 1.185 GB, free: 42.44 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005453/3.911, allocations: 0.6132 MB / 1.186 GB, free: 42.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008199/3.92, allocations: 3.958 MB / 1.19 GB, free: 42.11 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/3.93, allocations: 6.936 MB / 1.197 GB, free: 38.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/3.941, allocations: 5.44 MB / 1.202 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/3.941, allocations: 29.41 kB / 1.202 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.02896/3.97, allocations: 12.41 MB / 1.214 GB, free: 37.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/3.97, allocations: 46.38 kB / 1.214 GB, free: 37.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/3.971, allocations: 102.2 kB / 1.214 GB, free: 37.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009449/3.98, allocations: 3.085 MB / 1.217 GB, free: 37.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008031/3.988, allocations: 1.572 MB / 1.219 GB, free: 37.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/3.998, allocations: 6.428 MB / 1.225 GB, free: 36.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00831/4.007, allocations: 1.053 MB / 1.226 GB, free: 35.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001996/4.009, allocations: 378.8 kB / 1.226 GB, free: 35.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (802): * Single equations (assignments): 799 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.00268/4.012, allocations: 0.5792 MB / 1.227 GB, free: 35.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/4.013, allocations: 0.4911 MB / 1.227 GB, free: 35.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/4.035, allocations: 9.357 MB / 1.237 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.496e-05/4.036, allocations: 49.22 kB / 1.237 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/4.036, allocations: 0 / 1.237 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/4.036, allocations: 24.98 kB / 1.237 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05061/4.086, allocations: 20.48 MB / 1.257 GB, free: 28.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/4.086, allocations: 0 / 1.257 GB, free: 28.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004615/4.091, allocations: 0.7401 MB / 1.257 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009036/4.1, allocations: 2.942 MB / 1.26 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009471/4.101, allocations: 100.3 kB / 1.26 GB, free: 28.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009775/4.111, allocations: 6.228 MB / 1.266 GB, free: 24.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.324e-06/4.111, allocations: 3.875 kB / 1.266 GB, free: 24.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0274/4.138, allocations: 13.74 MB / 1.28 GB, free: 19.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004155/4.143, allocations: 1.405 MB / 1.281 GB, free: 18.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/4.144, allocations: 82.62 kB / 1.281 GB, free: 18.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004493/4.149, allocations: 387.8 kB / 1.282 GB, free: 18.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/4.15, allocations: 319.6 kB / 1.282 GB, free: 18.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000526/4.15, allocations: 133.3 kB / 1.282 GB, free: 18.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.007179/4.158, allocations: 3.361 MB / 1.285 GB, free: 17.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.14e-06/4.158, allocations: 0 / 1.285 GB, free: 17.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01234/4.17, allocations: 3.189 MB / 1.289 GB, free: 15 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/4.171, allocations: 292.1 kB / 1.289 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01933/4.191, allocations: 9.621 MB / 1.298 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.631e-06/4.191, allocations: 2.688 kB / 1.298 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01066/4.201, allocations: 4.555 MB / 1.303 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006881/4.208, allocations: 1.16 MB / 1.304 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1549/4.363, allocations: 21.21 MB / 1.325 GB, free: 1.605 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02798/4.391, allocations: 9.576 MB / 1.334 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01102/4.402, allocations: 2.839 MB / 1.337 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/4.404, allocations: 374.3 kB / 1.337 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of SimCode: time 2.017e-06/4.404, allocations: 4 kB / 1.337 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of Templates: time 0.6004/5.005, allocations: 90.07 MB / 1.425 GB, free: 86.08 MB / 0.5886 GB