Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.526e-05/5.538e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5478/0.6814, allocations: 110.9 MB / 0.5091 GB, free: 8.977 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.6818, allocations: 80.52 kB / 0.5092 GB, free: 8.898 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.932/2.614, allocations: 387.6 MB / 0.8876 GB, free: 71.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/2.614, allocations: 0 / 0.8876 GB, free: 71.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.002189/2.616, allocations: 253 kB / 0.8879 GB, free: 71.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.05706/2.673, allocations: 10.44 MB / 0.8981 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/2.673, allocations: 10.25 kB / 0.8981 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007931/2.681, allocations: 1.689 MB / 0.8997 GB, free: 68.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09849/2.78, allocations: 7.738 MB / 0.9073 GB, free: 67.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03259/2.813, allocations: 7.653 MB / 0.9148 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/2.814, allocations: 0.8353 MB / 0.9156 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005669/2.819, allocations: 1.103 MB / 0.9167 GB, free: 64.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06113/2.881, allocations: 19.32 MB / 0.9355 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007824/2.881, allocations: 27.03 kB / 0.9356 GB, free: 56.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005646/2.887, allocations: 483.1 kB / 0.936 GB, free: 55.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001767/2.889, allocations: 0.9206 MB / 0.9369 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06863/2.958, allocations: 17.23 MB / 0.9537 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6097/3.567, allocations: 60.33 MB / 1.013 GB, free: 67.44 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0362/3.604, allocations: 16.43 MB / 1.029 GB, free: 60.56 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01217/3.616, allocations: 4.396 MB / 1.033 GB, free: 60.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/3.617, allocations: 238.4 kB / 1.033 GB, free: 60.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/3.617, allocations: 104.6 kB / 1.033 GB, free: 60.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 1.081e-05/3.617, allocations: 0 / 1.033 GB, free: 60.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.02508/3.642, allocations: 8.156 MB / 1.041 GB, free: 60.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/3.642, allocations: 117.1 kB / 1.041 GB, free: 60.01 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01967/3.662, allocations: 7.739 MB / 1.049 GB, free: 59.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001329/3.663, allocations: 130.8 kB / 1.049 GB, free: 59.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005171/3.669, allocations: 4.485 MB / 1.053 GB, free: 58.22 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003137/3.672, allocations: 2.183 MB / 1.056 GB, free: 56.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009707/3.673, allocations: 156.5 kB / 1.056 GB, free: 56.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006055/3.673, allocations: 0.6227 MB / 1.056 GB, free: 56.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01029/3.684, allocations: 3.989 MB / 1.06 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/3.697, allocations: 6.72 MB / 1.067 GB, free: 53.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/3.71, allocations: 5.514 MB / 1.072 GB, free: 53.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/3.71, allocations: 25.53 kB / 1.072 GB, free: 53.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.03178/3.742, allocations: 11.52 MB / 1.083 GB, free: 52.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.905e-05/3.742, allocations: 44.97 kB / 1.084 GB, free: 52.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/3.742, allocations: 96.25 kB / 1.084 GB, free: 52.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/3.744, allocations: 423 kB / 1.084 GB, free: 52.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01498/3.759, allocations: 2.003 MB / 1.086 GB, free: 52.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00822/3.767, allocations: 8.892 MB / 1.095 GB, free: 44.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/3.779, allocations: 1.35 MB / 1.096 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002266/3.782, allocations: 372.8 kB / 1.096 GB, free: 44.32 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003322/3.785, allocations: 0.6092 MB / 1.097 GB, free: 44.15 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002335/3.787, allocations: 0.7047 MB / 1.098 GB, free: 43.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03181/3.819, allocations: 10.45 MB / 1.108 GB, free: 43.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-05/3.819, allocations: 69.75 kB / 1.108 GB, free: 43.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/3.819, allocations: 0 / 1.108 GB, free: 43.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001843/3.819, allocations: 33.28 kB / 1.108 GB, free: 43.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7533/4.573, allocations: 153.4 MB / 1.258 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003926/4.573, allocations: 88.72 kB / 1.258 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01168/4.585, allocations: 1.537 MB / 1.259 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/4.586, allocations: 393 kB / 1.26 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001486/4.588, allocations: 248.3 kB / 1.26 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007466/4.595, allocations: 8.769 MB / 1.268 GB, free: 94.08 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.679e-05/4.596, allocations: 135.8 kB / 1.269 GB, free: 94.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04652/4.642, allocations: 33.51 MB / 1.301 GB, free: 71.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00493/4.647, allocations: 1.249 MB / 1.303 GB, free: 70.65 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003951/4.651, allocations: 241.1 kB / 1.303 GB, free: 70.65 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01395/4.665, allocations: 0.5642 MB / 1.303 GB, free: 70.64 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002906/4.668, allocations: 0.7241 MB / 1.304 GB, free: 70.54 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001377/4.669, allocations: 310.4 kB / 1.304 GB, free: 70.54 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01968/4.689, allocations: 5.925 MB / 1.31 GB, free: 70.29 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.182e-06/4.689, allocations: 0 / 1.31 GB, free: 70.29 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01773/4.707, allocations: 2.635 MB / 1.313 GB, free: 70.07 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04575/4.753, allocations: 50.38 MB / 1.362 GB, free: 30.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02417/4.777, allocations: 9.876 MB / 1.371 GB, free: 27.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.396e-05/4.777, allocations: 14.66 kB / 1.372 GB, free: 27.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01285/4.79, allocations: 5.207 MB / 1.377 GB, free: 25.48 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01296/4.803, allocations: 1.357 MB / 1.378 GB, free: 25.06 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07585/4.879, allocations: 24.86 MB / 1.402 GB, free: 11.04 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01618/4.895, allocations: 7.943 MB / 1.41 GB, free: 5.031 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01772/4.913, allocations: 3.584 MB / 1.413 GB, free: 2.645 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01562/4.929, allocations: 4.279 MB / 1.418 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of SimCode: time 2.134e-06/4.929, allocations: 0 / 1.418 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8409/5.77, allocations: 181.8 MB / 1.595 GB, free: 51.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/5.77, allocations: 188.3 kB / 1.595 GB, free: 50.86 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.983/14.75, allocations: 4 kB / 1.595 GB, free: 50.86 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat does not exist to compare? outputFormat=mat