Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.783/2.783, allocations: 270 MB / 282.6 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.612e-05, allocations: 4 kB / 347.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3974, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.5859, allocations: 102.4 MB / 0.4993 GB, free: 4.188 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.5863, allocations: 75.95 kB / 0.4994 GB, free: 4.113 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4999/1.086, allocations: 38.67 MB / 0.5372 GB, free: 103.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.086, allocations: 0 / 0.5372 GB, free: 103.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.823e-05/1.086, allocations: 21.98 kB / 0.5372 GB, free: 103.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008327/1.095, allocations: 1.685 MB / 0.5389 GB, free: 103 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.095, allocations: 9.094 kB / 0.5389 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005005/1.095, allocations: 193 kB / 0.539 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/1.105, allocations: 0.9822 MB / 0.54 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/1.107, allocations: 0.5993 MB / 0.5406 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/1.107, allocations: 104.6 kB / 0.5407 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/1.108, allocations: 132.8 kB / 0.5408 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/1.111, allocations: 1.405 MB / 0.5422 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.729e-05/1.111, allocations: 3.844 kB / 0.5422 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/1.111, allocations: 51.91 kB / 0.5422 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/1.112, allocations: 34.81 kB / 0.5423 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/1.115, allocations: 1.417 MB / 0.5437 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/1.127, allocations: 5.468 MB / 0.549 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/1.13, allocations: 2.131 MB / 0.5511 GB, free: 99.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/1.131, allocations: 0.613 MB / 0.5517 GB, free: 99.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/1.131, allocations: 107.3 kB / 0.5518 GB, free: 99.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.131, allocations: 52.47 kB / 0.5518 GB, free: 99.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 4.779e-06/1.131, allocations: 0 / 0.5518 GB, free: 99.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=127): time 0.003122/1.134, allocations: 1.234 MB / 0.553 GB, free: 98.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/1.134, allocations: 95.22 kB / 0.5531 GB, free: 98.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/1.135, allocations: 397.1 kB / 0.5535 GB, free: 98.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/1.135, allocations: 44.89 kB / 0.5535 GB, free: 98.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/1.136, allocations: 0.4942 MB / 0.554 GB, free: 98.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/1.136, allocations: 417.5 kB / 0.5544 GB, free: 98.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/1.136, allocations: 29.19 kB / 0.5545 GB, free: 98.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/1.136, allocations: 358 kB / 0.5548 GB, free: 97.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/1.137, allocations: 413.4 kB / 0.5552 GB, free: 97.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.138, allocations: 0.6191 MB / 0.5558 GB, free: 97.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.14, allocations: 486.2 kB / 0.5563 GB, free: 97.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/1.14, allocations: 0 / 0.5563 GB, free: 97.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00354/1.143, allocations: 1.417 MB / 0.5576 GB, free: 96.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.143, allocations: 7.781 kB / 0.5577 GB, free: 96.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.143, allocations: 5.875 kB / 0.5577 GB, free: 96.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/1.146, allocations: 0.5115 MB / 0.5582 GB, free: 96.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/1.147, allocations: 190.6 kB / 0.5583 GB, free: 96.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009373/1.157, allocations: 4.269 MB / 0.5625 GB, free: 93.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.158, allocations: 123.8 kB / 0.5626 GB, free: 93.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.158, allocations: 45.16 kB / 0.5627 GB, free: 93.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0003311/1.159, allocations: 170.1 kB / 0.5628 GB, free: 93.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/1.159, allocations: 86.08 kB / 0.5629 GB, free: 93.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/1.163, allocations: 1.556 MB / 0.5644 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.163, allocations: 18.91 kB / 0.5645 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.163, allocations: 4 kB / 0.5645 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.163, allocations: 3.891 kB / 0.5645 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00633/1.17, allocations: 2.788 MB / 0.5672 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.17, allocations: 0 / 0.5672 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.171, allocations: 149.6 kB / 0.5673 GB, free: 91.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002481/1.173, allocations: 0.5016 MB / 0.5678 GB, free: 91.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/1.174, allocations: 31.33 kB / 0.5678 GB, free: 91.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00946/1.183, allocations: 4.239 MB / 0.572 GB, free: 88.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.183, allocations: 3.938 kB / 0.572 GB, free: 88.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/1.188, allocations: 2.189 MB / 0.5741 GB, free: 86.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007518/1.189, allocations: 287 kB / 0.5744 GB, free: 86.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/1.189, allocations: 26.77 kB / 0.5744 GB, free: 86.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.191, allocations: 55.84 kB / 0.5745 GB, free: 86.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/1.191, allocations: 106.6 kB / 0.5746 GB, free: 86.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.191, allocations: 35.38 kB / 0.5746 GB, free: 86.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005135/1.192, allocations: 307 kB / 0.5749 GB, free: 86.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.192, allocations: 0 / 0.5749 GB, free: 86.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002035/1.194, allocations: 418.8 kB / 0.5753 GB, free: 85.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.005526/1.199, allocations: 2.964 MB / 0.5782 GB, free: 82.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004731/1.204, allocations: 1.613 MB / 0.5798 GB, free: 81.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.204, allocations: 0 / 0.5798 GB, free: 81.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003192/1.207, allocations: 1.079 MB / 0.5808 GB, free: 80.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/1.208, allocations: 83.3 kB / 0.5809 GB, free: 80.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007923/1.216, allocations: 2.279 MB / 0.5831 GB, free: 78.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/1.217, allocations: 1.098 MB / 0.5842 GB, free: 77.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008532/1.218, allocations: 393.4 kB / 0.5846 GB, free: 76.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/1.218, allocations: 0 / 0.5846 GB, free: 76.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/4.105, allocations: 21.38 MB / 0.6055 GB, free: 61.02 MB / 458.7 MB