Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.321e-05, allocations: 3.984 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1356, allocations: 47.59 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4225/0.5582, allocations: 85.66 MB / 402.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.5586, allocations: 79.27 kB / 402.8 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1123/0.6709, allocations: 28.99 MB / 431.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.671, allocations: 0 / 431.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.653e-05/0.671, allocations: 16 kB / 431.8 MB, free: 10.19 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004067/0.6751, allocations: 1.074 MB / 432.8 MB, free: 9.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.6752, allocations: 8.031 kB / 432.9 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003545/0.6755, allocations: 173.3 kB / 433 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007386/0.6829, allocations: 0.7047 MB / 433.7 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6841, allocations: 454.8 kB / 434.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.6842, allocations: 85.3 kB / 434.3 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/0.6844, allocations: 103.5 kB / 434.4 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.6873, allocations: 1.062 MB / 435.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.6874, allocations: 3.906 kB / 435.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.6876, allocations: 50.62 kB / 435.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.6876, allocations: 24 kB / 435.5 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.6906, allocations: 1.067 MB / 436.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.7007, allocations: 4.061 MB / 440.6 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005056/0.7058, allocations: 3.722 MB / 444.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/0.7067, allocations: 292.7 kB / 444.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.7069, allocations: 105.6 kB / 444.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.7069, allocations: 43.12 kB / 444.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 3.897e-06/0.7069, allocations: 0 / 444.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.001457/0.7084, allocations: 0.5025 MB / 445.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.7085, allocations: 111.4 kB / 445.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.709, allocations: 294.4 kB / 445.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.7091, allocations: 37.64 kB / 445.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.7094, allocations: 453.9 kB / 446.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.7097, allocations: 248.5 kB / 446.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.7098, allocations: 20 kB / 446.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.71, allocations: 354.8 kB / 446.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006078/0.7106, allocations: 218 kB / 447 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.7115, allocations: 0.5223 MB / 447.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.7123, allocations: 317.9 kB / 447.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.7124, allocations: 8 kB / 447.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002137/0.7145, allocations: 0.8167 MB / 448.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.7146, allocations: 15.98 kB / 448.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.7146, allocations: 12 kB / 448.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.493e-05/0.7147, allocations: 16 kB / 448.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.7164, allocations: 239.6 kB / 448.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.842e-05/0.7164, allocations: 19.94 kB / 448.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009105/0.7173, allocations: 107 kB / 449 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7175, allocations: 44 kB / 449.1 MB, free: 9.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002584/0.7177, allocations: 164.6 kB / 449.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.7179, allocations: 47.44 kB / 449.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.7198, allocations: 0.6574 MB / 449.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.7199, allocations: 8 kB / 450 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.7199, allocations: 0 / 450 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.7199, allocations: 7.984 kB / 450 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/0.7241, allocations: 1.543 MB / 451.5 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.7242, allocations: 3.938 kB / 451.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.7255, allocations: 139.9 kB / 451.6 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.473e-05/0.7256, allocations: 4 kB / 451.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.7257, allocations: 27.86 kB / 451.7 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2e-05/0.7258, allocations: 3.953 kB / 451.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7258, allocations: 4 kB / 451.7 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.7284, allocations: 1.119 MB / 452.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.7287, allocations: 136.3 kB / 452.9 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.7288, allocations: 16 kB / 452.9 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.7295, allocations: 28.05 kB / 453 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.7297, allocations: 48.72 kB / 453 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/0.7298, allocations: 20 kB / 453 MB, free: 5.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003627/0.7302, allocations: 210.2 kB / 453.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7302, allocations: 3.938 kB / 453.3 MB, free: 5.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001343/0.7315, allocations: 255.1 kB / 453.5 MB, free: 5.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00305/0.7346, allocations: 1.875 MB / 455.4 MB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.7364, allocations: 0.6205 MB / 456 MB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.7364, allocations: 4.188 kB / 456 MB, free: 2.684 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.7372, allocations: 298.8 kB / 456.3 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.7378, allocations: 37.2 kB / 456.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00699/0.7448, allocations: 1.65 MB / 458 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.7456, allocations: 0.9361 MB / 458.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008296/0.7465, allocations: 96.88 kB / 459 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/0.7472, allocations: 291.3 kB / 459.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7472, allocations: 0 / 459.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/0.794, allocations: 9.958 MB / 469.3 MB, free: 5.426 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/0.7944, allocations: 175.3 kB / 469.4 MB, free: 5.199 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.625, allocations: 3.906 kB / 469.4 MB, free: 5.195 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat