Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 270 MB / 283.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.498e-05, allocations: 4 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4199, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.6089, allocations: 102.4 MB / 0.5007 GB, free: 4.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.6093, allocations: 83.95 kB / 0.5008 GB, free: 3.988 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4831/1.092, allocations: 38.67 MB / 0.5386 GB, free: 99.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.092, allocations: 3.969 kB / 0.5386 GB, free: 99.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.941e-05/1.093, allocations: 22.41 kB / 0.5386 GB, free: 99.25 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008023/1.101, allocations: 1.688 MB / 0.5403 GB, free: 98.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.101, allocations: 10.75 kB / 0.5403 GB, free: 98.39 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005288/1.101, allocations: 196.2 kB / 0.5405 GB, free: 98.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009767/1.111, allocations: 0.9823 MB / 0.5414 GB, free: 98.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/1.113, allocations: 0.5861 MB / 0.542 GB, free: 97.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/1.113, allocations: 108.7 kB / 0.5421 GB, free: 97.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/1.113, allocations: 130.8 kB / 0.5422 GB, free: 97.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/1.116, allocations: 1.405 MB / 0.5436 GB, free: 96.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.94e-05/1.117, allocations: 3.781 kB / 0.5436 GB, free: 96.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/1.117, allocations: 55.28 kB / 0.5436 GB, free: 96.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/1.117, allocations: 35.78 kB / 0.5437 GB, free: 96.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/1.12, allocations: 1.416 MB / 0.5451 GB, free: 96.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/1.132, allocations: 5.463 MB / 0.5504 GB, free: 91.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/1.135, allocations: 2.136 MB / 0.5525 GB, free: 88.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.136, allocations: 0.6165 MB / 0.5531 GB, free: 88.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/1.137, allocations: 105 kB / 0.5532 GB, free: 87.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/1.137, allocations: 51.5 kB / 0.5532 GB, free: 87.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 5.189e-06/1.137, allocations: 0 / 0.5532 GB, free: 87.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.003134/1.14, allocations: 1.229 MB / 0.5544 GB, free: 86.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/1.14, allocations: 98 kB / 0.5545 GB, free: 86.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/1.141, allocations: 399.7 kB / 0.5549 GB, free: 86.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.141, allocations: 45.7 kB / 0.555 GB, free: 86.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/1.141, allocations: 453.9 kB / 0.5554 GB, free: 85.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/1.142, allocations: 417.1 kB / 0.5558 GB, free: 85.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.142, allocations: 28 kB / 0.5558 GB, free: 85.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/1.142, allocations: 386.8 kB / 0.5562 GB, free: 84.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.143, allocations: 414.6 kB / 0.5566 GB, free: 84.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/1.144, allocations: 0.6165 MB / 0.5572 GB, free: 83.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.145, allocations: 488.5 kB / 0.5576 GB, free: 83.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.145, allocations: 0 / 0.5576 GB, free: 83.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003672/1.149, allocations: 1.442 MB / 0.559 GB, free: 81.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/1.149, allocations: 8 kB / 0.5591 GB, free: 81.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/1.149, allocations: 7.984 kB / 0.5591 GB, free: 81.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/1.152, allocations: 0.5087 MB / 0.5596 GB, free: 81.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.153, allocations: 191.7 kB / 0.5597 GB, free: 81.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/1.163, allocations: 4.275 MB / 0.5639 GB, free: 76.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.164, allocations: 126.8 kB / 0.564 GB, free: 76.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/1.164, allocations: 40 kB / 0.5641 GB, free: 76.53 MB / 442.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.0003197/1.165, allocations: 172.7 kB / 0.5642 GB, free: 76.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/1.165, allocations: 83.02 kB / 0.5643 GB, free: 76.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/1.169, allocations: 1.551 MB / 0.5658 GB, free: 74.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.169, allocations: 12 kB / 0.5658 GB, free: 74.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.169, allocations: 8 kB / 0.5659 GB, free: 74.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/1.169, allocations: 7.969 kB / 0.5659 GB, free: 74.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/1.175, allocations: 2.792 MB / 0.5686 GB, free: 71.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.176, allocations: 112 / 0.5686 GB, free: 71.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.177, allocations: 147.7 kB / 0.5687 GB, free: 71.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/1.179, allocations: 0.4989 MB / 0.5692 GB, free: 71.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/1.179, allocations: 35.94 kB / 0.5693 GB, free: 71.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008985/1.188, allocations: 4.242 MB / 0.5734 GB, free: 66.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.188, allocations: 0 / 0.5734 GB, free: 66.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/1.193, allocations: 2.182 MB / 0.5755 GB, free: 64.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/1.194, allocations: 295.7 kB / 0.5758 GB, free: 64.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/1.194, allocations: 20 kB / 0.5758 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.195, allocations: 56.03 kB / 0.5759 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/1.196, allocations: 101.1 kB / 0.576 GB, free: 64.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.196, allocations: 36.11 kB / 0.576 GB, free: 64.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000449/1.196, allocations: 309.5 kB / 0.5763 GB, free: 63.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.213e-06/1.196, allocations: 0 / 0.5763 GB, free: 63.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001668/1.198, allocations: 418.9 kB / 0.5767 GB, free: 63.35 MB / 442.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.005287/1.203, allocations: 2.958 MB / 0.5796 GB, free: 60.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004439/1.208, allocations: 1.622 MB / 0.5812 GB, free: 58.72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.208, allocations: 0 / 0.5812 GB, free: 58.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003073/1.211, allocations: 1.075 MB / 0.5822 GB, free: 57.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/1.212, allocations: 87.55 kB / 0.5823 GB, free: 57.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/1.219, allocations: 2.237 MB / 0.5845 GB, free: 55.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/1.22, allocations: 1.095 MB / 0.5856 GB, free: 54.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008362/1.221, allocations: 110.7 kB / 0.5857 GB, free: 54.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/1.221, allocations: 387.3 kB / 0.586 GB, free: 53.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/1.221, allocations: 0 / 0.586 GB, free: 53.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06685/1.288, allocations: 23.9 MB / 0.6094 GB, free: 29.98 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.288, allocations: 200.2 kB / 0.6096 GB, free: 29.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/4.638, allocations: 0 / 0.6096 GB, free: 29.75 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat