Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.149e-05, allocations: 4 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4133, allocations: 58.84 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.601, allocations: 100.8 MB / 483.1 MB, free: 7.586 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.6014, allocations: 75.95 kB / 483.2 MB, free: 7.512 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1629/0.7643, allocations: 39.14 MB / 0.5101 GB, free: 15.9 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.866e-06/0.7643, allocations: 3.938 kB / 0.5101 GB, free: 15.9 MB / 458.8 MB Notification: Performance of Transformations before backend: time 7.55e-05/0.7644, allocations: 20 kB / 0.5101 GB, free: 15.88 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01167/0.7761, allocations: 1.694 MB / 0.5117 GB, free: 14.13 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.7762, allocations: 12.03 kB / 0.5118 GB, free: 14.12 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006611/0.7769, allocations: 202.7 kB / 0.512 GB, free: 13.91 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.7881, allocations: 1.052 MB / 0.513 GB, free: 12.86 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.79, allocations: 0.6065 MB / 0.5136 GB, free: 12.21 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.7902, allocations: 106.7 kB / 0.5137 GB, free: 12.11 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/0.7906, allocations: 131.9 kB / 0.5138 GB, free: 11.98 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004797/0.7954, allocations: 1.452 MB / 0.5152 GB, free: 10.48 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.7956, allocations: 0 / 0.5152 GB, free: 10.48 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.7958, allocations: 60 kB / 0.5153 GB, free: 10.42 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/0.7959, allocations: 36 kB / 0.5153 GB, free: 10.39 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00469/0.8006, allocations: 1.481 MB / 0.5168 GB, free: 8.902 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.8159, allocations: 5.635 MB / 0.5223 GB, free: 2.984 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.82, allocations: 2.322 MB / 0.5245 GB, free: 396 kB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3571/1.177, allocations: 0.6191 MB / 0.5251 GB, free: 114.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/1.178, allocations: 105.9 kB / 0.5252 GB, free: 114 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/1.178, allocations: 50.47 kB / 0.5253 GB, free: 113.9 MB / 458.8 MB Notification: Performance of pre-optimization done (n=129): time 6.703e-06/1.178, allocations: 0 / 0.5253 GB, free: 113.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=129): time 0.00627/1.184, allocations: 1.246 MB / 0.5265 GB, free: 113.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/1.184, allocations: 98.78 kB / 0.5266 GB, free: 113.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/1.185, allocations: 412.8 kB / 0.527 GB, free: 113.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/1.185, allocations: 43.39 kB / 0.527 GB, free: 113.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/1.185, allocations: 475.8 kB / 0.5275 GB, free: 113.4 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/1.186, allocations: 431 kB / 0.5279 GB, free: 113.2 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.186, allocations: 25.72 kB / 0.5279 GB, free: 113.2 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001531/1.186, allocations: 384.7 kB / 0.5283 GB, free: 112.9 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/1.187, allocations: 424.6 kB / 0.5287 GB, free: 112.9 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/1.189, allocations: 0.6626 MB / 0.5293 GB, free: 112.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.19, allocations: 0.4897 MB / 0.5298 GB, free: 112.6 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.19, allocations: 1.562 kB / 0.5298 GB, free: 112.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00427/1.194, allocations: 1.515 MB / 0.5313 GB, free: 112.5 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.194, allocations: 8.094 kB / 0.5313 GB, free: 112.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/1.194, allocations: 6.781 kB / 0.5313 GB, free: 112.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/1.197, allocations: 0.5117 MB / 0.5318 GB, free: 112.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.199, allocations: 208.5 kB / 0.532 GB, free: 112.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009146/1.208, allocations: 4.262 MB / 0.5362 GB, free: 111 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.209, allocations: 134.5 kB / 0.5363 GB, free: 111 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/1.21, allocations: 50.22 kB / 0.5363 GB, free: 111 MB / 458.8 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.0003209/1.21, allocations: 177.7 kB / 0.5365 GB, free: 110.9 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/1.21, allocations: 88.33 kB / 0.5366 GB, free: 110.8 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/1.214, allocations: 1.507 MB / 0.5381 GB, free: 110.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/1.214, allocations: 15.59 kB / 0.5381 GB, free: 110.7 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.214, allocations: 3.781 kB / 0.5381 GB, free: 110.7 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.214, allocations: 3.891 kB / 0.5381 GB, free: 110.7 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006069/1.22, allocations: 2.827 MB / 0.5409 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.22, allocations: 3.938 kB / 0.5409 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.221, allocations: 146.4 kB / 0.541 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/1.224, allocations: 0.5078 MB / 0.5415 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/1.224, allocations: 25.03 kB / 0.5415 GB, free: 110.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008929/1.233, allocations: 4.258 MB / 0.5457 GB, free: 108.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.233, allocations: 10.08 kB / 0.5457 GB, free: 108.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004947/1.238, allocations: 2.204 MB / 0.5478 GB, free: 107 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/1.238, allocations: 297.9 kB / 0.5481 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.239, allocations: 19.62 kB / 0.5481 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.24, allocations: 55.89 kB / 0.5482 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.24, allocations: 96.59 kB / 0.5483 GB, free: 106.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.24, allocations: 36.53 kB / 0.5483 GB, free: 106.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0004657/1.241, allocations: 311.1 kB / 0.5486 GB, free: 106.6 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.5e-07/1.241, allocations: 3.906 kB / 0.5486 GB, free: 106.6 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.001616/1.242, allocations: 425.9 kB / 0.549 GB, free: 106.5 MB / 458.8 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.005324/1.248, allocations: 2.97 MB / 0.5519 GB, free: 104.6 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004728/1.252, allocations: 1.639 MB / 0.5535 GB, free: 103.9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.253, allocations: 7.75 kB / 0.5535 GB, free: 103.9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/1.256, allocations: 1.081 MB / 0.5546 GB, free: 103.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008835/1.257, allocations: 93.67 kB / 0.5547 GB, free: 103.4 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007518/1.264, allocations: 2.242 MB / 0.5569 GB, free: 102.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/1.265, allocations: 1.105 MB / 0.5579 GB, free: 101.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0009129/1.266, allocations: 114.1 kB / 0.5581 GB, free: 101.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006925/1.267, allocations: 397.4 kB / 0.5584 GB, free: 101.4 MB / 458.8 MB Notification: Performance of SimCode: time 1.763e-06/1.267, allocations: 3.938 kB / 0.5584 GB, free: 101.4 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07113/1.338, allocations: 24.04 MB / 0.5819 GB, free: 89.83 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/1.338, allocations: 185.8 kB / 0.5821 GB, free: 89.61 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.466/4.804, allocations: 3.938 kB / 0.5821 GB, free: 89.6 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat