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.262/2.262, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.915e-05, allocations: 3.984 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4113, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.5933, allocations: 94.79 MB / 454.7 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.5936, allocations: 87.94 kB / 454.7 MB, free: 2.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1688/0.7625, allocations: 38.69 MB / 493.4 MB, free: 10.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7626, allocations: 0 / 493.4 MB, free: 10.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.56e-05/0.7626, allocations: 20 kB / 493.5 MB, free: 10.9 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.008355/0.771, allocations: 1.69 MB / 495.1 MB, free: 9.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.7711, allocations: 8.031 kB / 495.1 MB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000594/0.7717, allocations: 198.6 kB / 495.3 MB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.7826, allocations: 1.048 MB / 496.4 MB, free: 7.902 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.7843, allocations: 0.5728 MB / 497 MB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.7845, allocations: 106.7 kB / 497.1 MB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.7849, allocations: 132 kB / 497.2 MB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004315/0.7892, allocations: 1.453 MB / 498.6 MB, free: 5.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.969e-05/0.7893, allocations: 3.906 kB / 498.7 MB, free: 5.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.7896, allocations: 59.95 kB / 498.7 MB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.7896, allocations: 32 kB / 498.7 MB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004466/0.7941, allocations: 1.494 MB / 0.4885 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.8086, allocations: 5.468 MB / 0.4939 GB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/0.8127, allocations: 2.33 MB / 0.4961 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.8144, allocations: 0.6256 MB / 0.4967 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.8147, allocations: 110.1 kB / 0.4968 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.8148, allocations: 43.56 kB / 0.4969 GB, free: 10.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 5.2e-06/0.8148, allocations: 3.938 kB / 0.4969 GB, free: 10.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.003717/0.8186, allocations: 1.25 MB / 0.4981 GB, free: 9.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.8187, allocations: 90.11 kB / 0.4982 GB, free: 9.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.8195, allocations: 387.1 kB / 0.4986 GB, free: 9.059 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.8196, allocations: 45.7 kB / 0.4986 GB, free: 9.008 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.8201, allocations: 467.3 kB / 0.4991 GB, free: 8.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.8207, allocations: 421.8 kB / 0.4995 GB, free: 8.125 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.8208, allocations: 24 kB / 0.4995 GB, free: 8.102 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002823/0.8211, allocations: 386.7 kB / 0.4998 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.8229, allocations: 426.6 kB / 0.5003 GB, free: 7.297 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.825, allocations: 0.6792 MB / 0.5009 GB, free: 6.516 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.8271, allocations: 0.4929 MB / 0.5014 GB, free: 6.023 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.8271, allocations: 0 / 0.5014 GB, free: 6.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.006286/0.8334, allocations: 1.529 MB / 0.5029 GB, free: 4.484 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.8335, allocations: 11.98 kB / 0.5029 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.8335, allocations: 8 kB / 0.5029 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/0.837, allocations: 0.5086 MB / 0.5034 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.8391, allocations: 203.7 kB / 0.5036 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02591/0.865, allocations: 4.247 MB / 0.5078 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.867, allocations: 134.7 kB / 0.5079 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.8672, allocations: 55.98 kB / 0.5079 GB, free: 15.18 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.00606/0.8733, allocations: 172.7 kB / 0.5081 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.8737, allocations: 78.97 kB / 0.5082 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.8865, allocations: 1.513 MB / 0.5097 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/0.8866, allocations: 12 kB / 0.5097 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.8866, allocations: 3.953 kB / 0.5097 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/0.8867, allocations: 3.984 kB / 0.5097 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.9045, allocations: 2.814 MB / 0.5124 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.9046, allocations: 0 / 0.5124 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.9059, allocations: 151.8 kB / 0.5126 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.9086, allocations: 0.5028 MB / 0.5131 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.9088, allocations: 28 kB / 0.5131 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.9195, allocations: 4.262 MB / 0.5172 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.9196, allocations: 3.984 kB / 0.5172 GB, free: 5.418 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006058/0.9256, allocations: 2.203 MB / 0.5194 GB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.9264, allocations: 295.6 kB / 0.5197 GB, free: 2.875 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.9266, allocations: 24 kB / 0.5197 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.9277, allocations: 60.03 kB / 0.5198 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.9281, allocations: 93.17 kB / 0.5198 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.9283, allocations: 32 kB / 0.5199 GB, free: 2.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005499/0.9288, allocations: 301.5 kB / 0.5202 GB, free: 2.375 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9288, allocations: 0 / 0.5202 GB, free: 2.375 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001832/0.9307, allocations: 419 kB / 0.5206 GB, free: 1.965 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.3116/1.242, allocations: 2.955 MB / 0.5235 GB, free: 119.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005099/1.247, allocations: 1.68 MB / 0.5251 GB, free: 119.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.247, allocations: 0 / 0.5251 GB, free: 119.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003406/1.251, allocations: 1.106 MB / 0.5262 GB, free: 119.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/1.252, allocations: 80.52 kB / 0.5262 GB, free: 119.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/1.26, allocations: 2.2 MB / 0.5284 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008697/1.261, allocations: 1.099 MB / 0.5295 GB, free: 118.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009681/1.262, allocations: 113.4 kB / 0.5296 GB, free: 118.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007079/1.262, allocations: 383.8 kB / 0.5299 GB, free: 118.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.343e-06/1.262, allocations: 0 / 0.5299 GB, free: 118.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08023/1.343, allocations: 23.72 MB / 0.5531 GB, free: 116.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.343, allocations: 194.9 kB / 0.5533 GB, free: 116.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.279/4.622, allocations: 3.938 kB / 0.5533 GB, free: 116.7 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