Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.409e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4627, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2458/0.7085, allocations: 100.5 MB / 460.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.7089, allocations: 84.72 kB / 460.4 MB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.936/2.645, allocations: 388.4 MB / 0.8289 GB, free: 59.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.986e-06/2.645, allocations: 0 / 0.8289 GB, free: 59.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007629/2.646, allocations: 250.3 kB / 0.8292 GB, free: 59.02 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: 3353 * Number of variables: 3353 Notification: Performance of Generate backend data structure: time 0.05093/2.697, allocations: 10.46 MB / 0.8394 GB, free: 48.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/2.697, allocations: 15.97 kB / 0.8394 GB, free: 48.76 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007838/2.705, allocations: 1.713 MB / 0.8411 GB, free: 47.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06625/2.771, allocations: 8.366 MB / 0.8493 GB, free: 38.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02458/2.796, allocations: 7.243 MB / 0.8563 GB, free: 31.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001568/2.797, allocations: 0.8661 MB / 0.8572 GB, free: 30.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005974/2.803, allocations: 1.114 MB / 0.8583 GB, free: 29.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07068/2.874, allocations: 20.89 MB / 0.8787 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007606/2.875, allocations: 19.89 kB / 0.8787 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005719/2.88, allocations: 494.1 kB / 0.8792 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001647/2.882, allocations: 0.8441 MB / 0.88 GB, free: 6.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4502/3.332, allocations: 19.53 MB / 0.8991 GB, free: 55.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1672/3.5, allocations: 59.83 MB / 0.9575 GB, free: 48.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04232/3.542, allocations: 23.88 MB / 0.9808 GB, free: 32.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02564/3.568, allocations: 10.12 MB / 0.9907 GB, free: 28.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/3.57, allocations: 364.3 kB / 0.991 GB, free: 28.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/3.57, allocations: 141.7 kB / 0.9912 GB, free: 27.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1196): time 1.894e-05/3.57, allocations: 0 / 0.9912 GB, free: 27.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=1196): time 0.05349/3.624, allocations: 17.88 MB / 1.009 GB, free: 20.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/3.624, allocations: 158.3 kB / 1.009 GB, free: 20.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007141/3.631, allocations: 2.64 MB / 1.011 GB, free: 19.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002873/3.634, allocations: 186.8 kB / 1.012 GB, free: 19.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002812/3.637, allocations: 3.413 MB / 1.015 GB, free: 17.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006847/3.644, allocations: 3.898 MB / 1.019 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002808/3.646, allocations: 171.8 kB / 1.019 GB, free: 14.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001455/3.648, allocations: 0.7148 MB / 1.02 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01886/3.667, allocations: 7.005 MB / 1.026 GB, free: 8.938 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02081/3.688, allocations: 7.926 MB / 1.034 GB, free: 1.871 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04939/3.737, allocations: 9.811 MB / 1.044 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.947e-05/3.737, allocations: 4 kB / 1.044 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.06045/3.798, allocations: 18.67 MB / 1.062 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/3.798, allocations: 12 kB / 1.062 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/3.798, allocations: 12 kB / 1.062 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/3.81, allocations: 3.743 MB / 1.066 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01719/3.827, allocations: 1.914 MB / 1.067 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4216/4.249, allocations: 21.56 MB / 1.089 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/4.259, allocations: 1.121 MB / 1.09 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003329/4.263, allocations: 341.5 kB / 1.09 GB, free: 79.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.00583/4.269, allocations: 0.5344 MB / 1.09 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004078/4.273, allocations: 0.5528 MB / 1.091 GB, free: 78.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06673/4.34, allocations: 20.23 MB / 1.111 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004841/4.34, allocations: 287.8 kB / 1.111 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.626e-05/4.34, allocations: 3.312 kB / 1.111 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002481/4.34, allocations: 55.92 kB / 1.111 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1082/4.449, allocations: 38.51 MB / 1.149 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001176/4.449, allocations: 3.719 kB / 1.149 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01542/4.464, allocations: 1.772 MB / 1.15 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01011/4.474, allocations: 3.712 MB / 1.154 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00268/4.477, allocations: 247.3 kB / 1.154 GB, free: 74.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/4.502, allocations: 21.4 MB / 1.175 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/4.502, allocations: 2.031 kB / 1.175 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08772/4.59, allocations: 30.13 MB / 1.205 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/4.593, allocations: 0.8486 MB / 1.205 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004102/4.597, allocations: 166.2 kB / 1.206 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/4.607, allocations: 0.5947 MB / 1.206 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004/4.611, allocations: 0.8451 MB / 1.207 GB, free: 45.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001894/4.613, allocations: 322.1 kB / 1.207 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004475/4.618, allocations: 2.036 MB / 1.209 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.92e-07/4.618, allocations: 1.594 kB / 1.209 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01259/4.63, allocations: 3.077 MB / 1.212 GB, free: 40.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.08418/4.715, allocations: 31.03 MB / 1.243 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.07088/4.785, allocations: 17.87 MB / 1.26 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/4.786, allocations: 4 kB / 1.26 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03529/4.821, allocations: 9.714 MB / 1.27 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/4.832, allocations: 0.9759 MB / 1.271 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5495/5.381, allocations: 29.84 MB / 1.3 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02022/5.402, allocations: 8.212 MB / 1.308 GB, free: 99.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01609/5.418, allocations: 2.592 MB / 1.31 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01366/5.431, allocations: 4.085 MB / 1.314 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/5.432, allocations: 0 / 1.314 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9137/6.345, allocations: 222.3 MB / 1.531 GB, free: 80.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/6.346, allocations: 203.4 kB / 1.531 GB, free: 80.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.023/15.37, allocations: 0 / 1.531 GB, free: 80.5 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat