Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.936e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4074, allocations: 54.85 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.5819, allocations: 94.8 MB / 454.7 MB, free: 2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.5823, allocations: 79.95 kB / 454.8 MB, free: 1.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1626/0.7449, allocations: 38.7 MB / 493.5 MB, free: 10.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.745, allocations: 4 kB / 493.5 MB, free: 10.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.18e-05/0.7451, allocations: 20 kB / 493.5 MB, free: 10.79 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.008861/0.754, allocations: 1.682 MB / 495.2 MB, free: 9.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.7541, allocations: 12.03 kB / 495.2 MB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006257/0.7547, allocations: 194.6 kB / 495.4 MB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.7657, allocations: 1.056 MB / 496.4 MB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.7674, allocations: 0.5689 MB / 497 MB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.7676, allocations: 98.69 kB / 497.1 MB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003859/0.768, allocations: 128 kB / 497.2 MB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/0.7724, allocations: 1.436 MB / 498.7 MB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.531e-05/0.7725, allocations: 7.906 kB / 498.7 MB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.7728, allocations: 63.95 kB / 498.7 MB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.7728, allocations: 32 kB / 498.8 MB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00477/0.7776, allocations: 1.481 MB / 0.4885 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.7934, allocations: 5.46 MB / 0.4938 GB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/0.7973, allocations: 2.326 MB / 0.4961 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.7991, allocations: 0.6218 MB / 0.4967 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.7994, allocations: 102.1 kB / 0.4968 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.7994, allocations: 55.48 kB / 0.4969 GB, free: 10.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 4.719e-06/0.7995, allocations: 7.938 kB / 0.4969 GB, free: 10.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.003804/0.8033, allocations: 1.238 MB / 0.4981 GB, free: 9.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.8034, allocations: 94.14 kB / 0.4982 GB, free: 9.391 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.8042, allocations: 383 kB / 0.4986 GB, free: 9.012 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.8045, allocations: 45.7 kB / 0.4986 GB, free: 8.961 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.8049, allocations: 467.3 kB / 0.499 GB, free: 8.496 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/0.8055, allocations: 433.7 kB / 0.4995 GB, free: 8.066 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.8056, allocations: 24 kB / 0.4995 GB, free: 8.043 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.8059, allocations: 378.7 kB / 0.4998 GB, free: 7.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.8072, allocations: 426.6 kB / 0.5002 GB, free: 7.246 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.8089, allocations: 0.6728 MB / 0.5009 GB, free: 6.469 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.8106, allocations: 496.8 kB / 0.5014 GB, free: 5.984 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.8107, allocations: 4 kB / 0.5014 GB, free: 5.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005043/0.8157, allocations: 1.514 MB / 0.5029 GB, free: 4.457 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.8158, allocations: 9.719 kB / 0.5029 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.8159, allocations: 8 kB / 0.5029 GB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.8188, allocations: 0.5088 MB / 0.5034 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.8205, allocations: 211.7 kB / 0.5036 GB, free: 3.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.8315, allocations: 4.255 MB / 0.5077 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.833, allocations: 138.6 kB / 0.5079 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.8333, allocations: 51.98 kB / 0.5079 GB, free: 15.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (116): * Single equations (assignments): 115 * 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.0003588/0.8336, allocations: 176.7 kB / 0.5081 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.8339, allocations: 75.06 kB / 0.5082 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.8383, allocations: 1.501 MB / 0.5096 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.8383, allocations: 12 kB / 0.5096 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.8384, allocations: 3.953 kB / 0.5096 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.8384, allocations: 7.969 kB / 0.5096 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007592/0.846, allocations: 2.818 MB / 0.5124 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.8461, allocations: 0 / 0.5124 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.8475, allocations: 155.8 kB / 0.5125 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/0.8503, allocations: 0.495 MB / 0.513 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/0.8506, allocations: 27.98 kB / 0.513 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.8617, allocations: 4.253 MB / 0.5172 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8617, allocations: 0 / 0.5172 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006016/0.8678, allocations: 2.206 MB / 0.5194 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008514/0.8687, allocations: 291.7 kB / 0.5196 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.8689, allocations: 24 kB / 0.5197 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.8702, allocations: 59.97 kB / 0.5197 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/0.8706, allocations: 101.1 kB / 0.5198 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.8707, allocations: 35.98 kB / 0.5198 GB, free: 2.645 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005619/0.8713, allocations: 301.5 kB / 0.5201 GB, free: 2.348 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8713, allocations: 0 / 0.5201 GB, free: 2.348 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002003/0.8733, allocations: 411.1 kB / 0.5205 GB, free: 1.945 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 (86): * Single equations (assignments): 85 * 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.3138/1.187, allocations: 2.961 MB / 0.5234 GB, free: 119.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004828/1.192, allocations: 1.639 MB / 0.525 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.192, allocations: 1.344 kB / 0.525 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003195/1.195, allocations: 1.08 MB / 0.5261 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008637/1.196, allocations: 79.23 kB / 0.5262 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/1.204, allocations: 2.188 MB / 0.5283 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008871/1.205, allocations: 1.101 MB / 0.5294 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001009/1.206, allocations: 110 kB / 0.5295 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000796/1.207, allocations: 385.7 kB / 0.5298 GB, free: 117.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.303e-06/1.207, allocations: 3.281 kB / 0.5298 GB, free: 117.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07461/1.281, allocations: 23.64 MB / 0.5529 GB, free: 116.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/1.282, allocations: 185.8 kB / 0.5531 GB, free: 116.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/4.54, allocations: 0 / 0.5531 GB, free: 116.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat