Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.702e-05, allocations: 7.938 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3901, allocations: 61.87 MB / 410.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.5862, allocations: 111 MB / 0.5091 GB, free: 11.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5866, allocations: 83.94 kB / 0.5092 GB, free: 11.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.88/2.467, allocations: 387.6 MB / 0.8877 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.484e-06/2.467, allocations: 0 / 0.8877 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000789/2.467, allocations: 239.8 kB / 0.8879 GB, free: 30.14 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.05083/2.518, allocations: 10.45 MB / 0.8981 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/2.518, allocations: 8.031 kB / 0.8981 GB, free: 19.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007721/2.526, allocations: 1.687 MB / 0.8997 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06468/2.591, allocations: 7.734 MB / 0.9073 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02712/2.618, allocations: 7.66 MB / 0.9148 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001319/2.619, allocations: 0.8349 MB / 0.9156 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005727/2.625, allocations: 1.101 MB / 0.9167 GB, free: 472 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4925/3.118, allocations: 19.31 MB / 0.9355 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008118/3.118, allocations: 18.27 kB / 0.9356 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005689/3.124, allocations: 486.3 kB / 0.936 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/3.126, allocations: 0.916 MB / 0.9369 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0722/3.198, allocations: 17.24 MB / 0.9537 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1871/3.386, allocations: 60.34 MB / 1.013 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03078/3.416, allocations: 16.42 MB / 1.029 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01022/3.427, allocations: 4.401 MB / 1.033 GB, free: 28.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009174/3.428, allocations: 233.5 kB / 1.033 GB, free: 27.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.574e-05/3.428, allocations: 106.4 kB / 1.033 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 1.002e-05/3.428, allocations: 0 / 1.033 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.02121/3.449, allocations: 8.153 MB / 1.041 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/3.449, allocations: 117.3 kB / 1.041 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01839/3.468, allocations: 7.744 MB / 1.049 GB, free: 22.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/3.469, allocations: 136 kB / 1.049 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004538/3.473, allocations: 4.48 MB / 1.053 GB, free: 19 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002906/3.476, allocations: 2.184 MB / 1.056 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009009/3.477, allocations: 155.3 kB / 1.056 GB, free: 17.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005628/3.478, allocations: 0.6219 MB / 1.056 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009818/3.488, allocations: 3.993 MB / 1.06 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/3.5, allocations: 6.724 MB / 1.067 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/3.513, allocations: 5.511 MB / 1.072 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/3.513, allocations: 28 kB / 1.072 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0472/3.56, allocations: 12.3 MB / 1.084 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/3.56, allocations: 44.12 kB / 1.084 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002105/3.56, allocations: 96 kB / 1.084 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/3.562, allocations: 421.6 kB / 1.085 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01599/3.578, allocations: 2.002 MB / 1.087 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/3.589, allocations: 8.893 MB / 1.095 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01587/3.605, allocations: 1.359 MB / 1.097 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002695/3.608, allocations: 371.6 kB / 1.097 GB, free: 13.69 MB / 0.5573 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.003392/3.611, allocations: 0.6076 MB / 1.098 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002648/3.614, allocations: 0.7056 MB / 1.098 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03459/3.648, allocations: 10.45 MB / 1.109 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.17e-05/3.648, allocations: 64 kB / 1.109 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/3.648, allocations: 8 kB / 1.109 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001587/3.649, allocations: 34.36 kB / 1.109 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7338/4.382, allocations: 153.2 MB / 1.258 GB, free: 75.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004342/4.383, allocations: 84 kB / 1.258 GB, free: 75.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01607/4.399, allocations: 1.538 MB / 1.26 GB, free: 74.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/4.401, allocations: 394.2 kB / 1.26 GB, free: 74.15 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001755/4.403, allocations: 248.2 kB / 1.261 GB, free: 73.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/4.413, allocations: 8.767 MB / 1.269 GB, free: 64.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001385/4.414, allocations: 137.3 kB / 1.269 GB, free: 64.88 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04535/4.459, allocations: 33.5 MB / 1.302 GB, free: 29.86 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003732/4.463, allocations: 1.244 MB / 1.303 GB, free: 28.78 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003157/4.466, allocations: 249.5 kB / 1.303 GB, free: 28.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01026/4.476, allocations: 0.5622 MB / 1.304 GB, free: 28.15 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002269/4.478, allocations: 0.7231 MB / 1.305 GB, free: 27.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009829/4.479, allocations: 310.4 kB / 1.305 GB, free: 27.36 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01446/4.494, allocations: 5.928 MB / 1.311 GB, free: 22.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.162e-06/4.494, allocations: 3.188 kB / 1.311 GB, free: 22.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01352/4.508, allocations: 2.633 MB / 1.313 GB, free: 19.83 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.4879/4.995, allocations: 50.38 MB / 1.363 GB, free: 96.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02416/5.02, allocations: 9.869 MB / 1.372 GB, free: 96.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.591e-05/5.02, allocations: 16.34 kB / 1.372 GB, free: 96.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/5.033, allocations: 5.206 MB / 1.377 GB, free: 95.58 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01261/5.046, allocations: 1.364 MB / 1.379 GB, free: 95.54 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07289/5.119, allocations: 24.85 MB / 1.403 GB, free: 89.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01715/5.136, allocations: 7.955 MB / 1.411 GB, free: 88.35 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0187/5.155, allocations: 3.584 MB / 1.414 GB, free: 88.28 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01205/5.167, allocations: 4.118 MB / 1.418 GB, free: 88.27 MB / 0.5886 GB Notification: Performance of SimCode: time 1.232e-06/5.167, allocations: 0 / 1.418 GB, free: 88.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8209/5.988, allocations: 181.8 MB / 1.596 GB, free: 93.71 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/5.988, allocations: 187.1 kB / 1.596 GB, free: 93.49 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.865/14.85, allocations: 2.5 kB / 1.596 GB, free: 93.49 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat does not exist to compare? outputFormat=mat