Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.876e-05/4.885e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3915, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.586, allocations: 106.4 MB / 466.3 MB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.5864, allocations: 79.95 kB / 466.4 MB, free: 6.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564/3.15, allocations: 470.2 MB / 0.9146 GB, free: 35.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.715e-06/3.15, allocations: 0 / 0.9146 GB, free: 35.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001089/3.151, allocations: 300.1 kB / 0.9149 GB, free: 35.76 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3915 * Number of variables: 3915 Notification: Performance of Generate backend data structure: time 0.07346/3.225, allocations: 13.43 MB / 0.928 GB, free: 32.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/3.225, allocations: 13.42 kB / 0.9281 GB, free: 32.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009588/3.234, allocations: 2.008 MB / 0.93 GB, free: 32.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06743/3.302, allocations: 8.508 MB / 0.9383 GB, free: 31.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02895/3.331, allocations: 8.556 MB / 0.9467 GB, free: 30.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001891/3.333, allocations: 1.033 MB / 0.9477 GB, free: 30.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007362/3.34, allocations: 1.306 MB / 0.949 GB, free: 30.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07882/3.419, allocations: 24.39 MB / 0.9728 GB, free: 28.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008787/3.42, allocations: 21.98 kB / 0.9728 GB, free: 28.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006633/3.427, allocations: 0.5694 MB / 0.9734 GB, free: 28.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/3.428, allocations: 0.9221 MB / 0.9743 GB, free: 28.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0635/3.492, allocations: 21.85 MB / 0.9956 GB, free: 25.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2135/3.705, allocations: 75.74 MB / 1.07 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5206/4.226, allocations: 20.99 MB / 1.09 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03754/4.264, allocations: 11.49 MB / 1.101 GB, free: 56.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.115/4.379, allocations: 37.24 MB / 1.138 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/4.379, allocations: 129.6 kB / 1.138 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1188): time 1.841e-05/4.379, allocations: 2.094 kB / 1.138 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1188): time 0.06383/4.443, allocations: 22.18 MB / 1.159 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/4.443, allocations: 181.5 kB / 1.16 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007063/4.45, allocations: 2.918 MB / 1.162 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002766/4.453, allocations: 176.7 kB / 1.163 GB, free: 49.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003345/4.456, allocations: 4.42 MB / 1.167 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006793/4.463, allocations: 3.871 MB / 1.171 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003026/4.466, allocations: 176.4 kB / 1.171 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001525/4.468, allocations: 0.7457 MB / 1.172 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01982/4.488, allocations: 7.911 MB / 1.179 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02206/4.51, allocations: 9.343 MB / 1.188 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02512/4.535, allocations: 9.248 MB / 1.197 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.741e-05/4.535, allocations: 11.28 kB / 1.197 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.08729/4.622, allocations: 23.48 MB / 1.22 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/4.622, allocations: 23.7 kB / 1.22 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/4.623, allocations: 35.5 kB / 1.22 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03366/4.656, allocations: 10.27 MB / 1.231 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/4.668, allocations: 1.346 MB / 1.232 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04894/4.717, allocations: 19.62 MB / 1.251 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/4.729, allocations: 1.111 MB / 1.252 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003628/4.733, allocations: 392.3 kB / 1.252 GB, free: 10.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of prepare postOptimizeDAE: time 0.006311/4.739, allocations: 0.542 MB / 1.253 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004396/4.744, allocations: 0.5888 MB / 1.254 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5369/5.281, allocations: 26.59 MB / 1.28 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006985/5.281, allocations: 324.9 kB / 1.28 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.365e-05/5.281, allocations: 2.406 kB / 1.28 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002598/5.282, allocations: 46.45 kB / 1.28 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1336/5.415, allocations: 43.29 MB / 1.322 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002078/5.416, allocations: 4.719 kB / 1.322 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0102/5.426, allocations: 1.082 MB / 1.323 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0344/5.46, allocations: 10.25 MB / 1.333 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003307/5.464, allocations: 244.4 kB / 1.333 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04537/5.509, allocations: 19.39 MB / 1.352 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/5.509, allocations: 3.312 kB / 1.352 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09598/5.605, allocations: 35.82 MB / 1.387 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009791/5.615, allocations: 2.685 MB / 1.39 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003638/5.619, allocations: 152.8 kB / 1.39 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009885/5.629, allocations: 0.5229 MB / 1.391 GB, free: 53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004409/5.633, allocations: 0.8872 MB / 1.392 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002664/5.636, allocations: 310.5 kB / 1.392 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00484/5.641, allocations: 2.219 MB / 1.394 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.11e-07/5.641, allocations: 0 / 1.394 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01582/5.656, allocations: 3.469 MB / 1.397 GB, free: 51.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (565): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of Backend phase and start with SimCode phase: time 0.09662/5.753, allocations: 36.74 MB / 1.433 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05647/5.81, allocations: 19.69 MB / 1.452 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/5.81, allocations: 1.969 kB / 1.452 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.05515/5.865, allocations: 11.9 MB / 1.464 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01357/5.879, allocations: 1.153 MB / 1.465 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5352/6.414, allocations: 33.29 MB / 1.498 GB, free: 85.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02599/6.44, allocations: 9.651 MB / 1.507 GB, free: 84.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01356/6.453, allocations: 2.095 MB / 1.509 GB, free: 84.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01361/6.467, allocations: 4.73 MB / 1.514 GB, free: 84.14 MB / 0.5417 GB Notification: Performance of SimCode: time 2.675e-06/6.467, allocations: 0 / 1.514 GB, free: 84.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.997/7.464, allocations: 280.3 MB / 1.788 GB, free: 65.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/7.465, allocations: 192.8 kB / 1.788 GB, free: 65.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.751/17.22, allocations: 0 / 1.788 GB, free: 65.5 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat