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.325/2.325, allocations: 235 MB / 247.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.856e-05, allocations: 4 kB / 305 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4742, allocations: 54.85 MB / 359.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.6624, allocations: 106.4 MB / 466.3 MB, free: 6.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.6628, allocations: 83.95 kB / 466.4 MB, free: 6.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.467/3.13, allocations: 470.2 MB / 0.9146 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.325e-06/3.13, allocations: 1.281 kB / 0.9146 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001683/3.132, allocations: 296.7 kB / 0.9149 GB, free: 52.14 MB / 0.4948 GB 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.08857/3.22, allocations: 13.43 MB / 0.928 GB, free: 48.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/3.221, allocations: 11.56 kB / 0.928 GB, free: 48.53 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0097/3.23, allocations: 1.996 MB / 0.93 GB, free: 48.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07505/3.305, allocations: 8.509 MB / 0.9383 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03514/3.341, allocations: 8.566 MB / 0.9466 GB, free: 46.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001814/3.342, allocations: 1.023 MB / 0.9476 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007485/3.35, allocations: 1.307 MB / 0.9489 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07756/3.428, allocations: 24.57 MB / 0.9729 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006996/3.428, allocations: 14.5 kB / 0.9729 GB, free: 44.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006763/3.435, allocations: 0.567 MB / 0.9735 GB, free: 44.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/3.437, allocations: 0.9252 MB / 0.9744 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06337/3.5, allocations: 22.03 MB / 0.9959 GB, free: 41.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2227/3.723, allocations: 75.53 MB / 1.07 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4692/4.192, allocations: 21.17 MB / 1.09 GB, free: 56.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03028/4.222, allocations: 11.5 MB / 1.102 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1078/4.33, allocations: 37.24 MB / 1.138 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/4.331, allocations: 134.4 kB / 1.138 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1188): time 1.744e-05/4.331, allocations: 0 / 1.138 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1188): time 0.06023/4.391, allocations: 22.17 MB / 1.16 GB, free: 50.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/4.391, allocations: 173.5 kB / 1.16 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/4.397, allocations: 2.92 MB / 1.163 GB, free: 49.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002727/4.4, allocations: 175.3 kB / 1.163 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003201/4.403, allocations: 4.423 MB / 1.167 GB, free: 46.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00659/4.41, allocations: 3.871 MB / 1.171 GB, free: 43.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/4.412, allocations: 171.1 kB / 1.171 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001144/4.413, allocations: 0.7543 MB / 1.172 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02052/4.433, allocations: 7.898 MB / 1.18 GB, free: 40 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02263/4.456, allocations: 9.409 MB / 1.189 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02397/4.48, allocations: 9.245 MB / 1.198 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-05/4.48, allocations: 11.12 kB / 1.198 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.06905/4.549, allocations: 23.57 MB / 1.221 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/4.549, allocations: 22.53 kB / 1.221 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/4.55, allocations: 32 kB / 1.221 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03365/4.583, allocations: 10.27 MB / 1.231 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/4.595, allocations: 1.347 MB / 1.232 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04951/4.644, allocations: 19.74 MB / 1.252 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/4.657, allocations: 1.115 MB / 1.253 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003495/4.661, allocations: 388 kB / 1.253 GB, free: 10.87 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.005173/4.666, allocations: 0.554 MB / 1.254 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003657/4.67, allocations: 0.5901 MB / 1.254 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5298/5.199, allocations: 26.57 MB / 1.28 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007242/5.2, allocations: 327.3 kB / 1.28 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.447e-05/5.2, allocations: 0.9375 kB / 1.28 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002441/5.201, allocations: 46.36 kB / 1.28 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1374/5.338, allocations: 43.29 MB / 1.323 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001723/5.338, allocations: 3.562 kB / 1.323 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01264/5.351, allocations: 1.083 MB / 1.324 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03637/5.387, allocations: 10.24 MB / 1.334 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00308/5.39, allocations: 246.9 kB / 1.334 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04067/5.431, allocations: 19.39 MB / 1.353 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/5.431, allocations: 0 / 1.353 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09127/5.522, allocations: 35.81 MB / 1.388 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01062/5.533, allocations: 2.677 MB / 1.39 GB, free: 53.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0043/5.537, allocations: 162.3 kB / 1.391 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01037/5.548, allocations: 0.5313 MB / 1.391 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00477/5.553, allocations: 0.8857 MB / 1.392 GB, free: 52.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003071/5.556, allocations: 308.4 kB / 1.392 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005306/5.561, allocations: 2.221 MB / 1.394 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.342e-06/5.561, allocations: 0.9375 kB / 1.394 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01644/5.578, allocations: 3.47 MB / 1.398 GB, free: 51.08 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.1007/5.678, allocations: 36.73 MB / 1.434 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05617/5.735, allocations: 19.82 MB / 1.453 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/5.735, allocations: 0 / 1.453 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.05496/5.79, allocations: 11.99 MB / 1.465 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01294/5.803, allocations: 1.166 MB / 1.466 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5158/6.319, allocations: 33.35 MB / 1.499 GB, free: 85.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02406/6.343, allocations: 9.653 MB / 1.508 GB, free: 84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01229/6.355, allocations: 2.101 MB / 1.51 GB, free: 83.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01273/6.368, allocations: 4.727 MB / 1.515 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of SimCode: time 3.377e-06/6.368, allocations: 0 / 1.515 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9761/7.344, allocations: 281.2 MB / 1.789 GB, free: 64.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/7.344, allocations: 190.1 kB / 1.789 GB, free: 64.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/17.7, allocations: 0 / 1.789 GB, free: 64.54 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