Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.176e-05, allocations: 4 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 50.4 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5677, allocations: 89.73 MB / 432.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.568, allocations: 83.27 kB / 433 MB, free: 4.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01/1.578, allocations: 209.1 MB / 0.627 GB, free: 65.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.578, allocations: 0 / 0.627 GB, free: 65.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005295/1.578, allocations: 135.9 kB / 0.6272 GB, free: 65.44 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02997/1.608, allocations: 5.873 MB / 0.6329 GB, free: 59.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.608, allocations: 12.03 kB / 0.6329 GB, free: 59.48 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0041/1.612, allocations: 1.045 MB / 0.6339 GB, free: 58.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/1.631, allocations: 2.069 MB / 0.6359 GB, free: 56.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/1.643, allocations: 3.85 MB / 0.6397 GB, free: 52.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005328/1.644, allocations: 456.2 kB / 0.6401 GB, free: 51.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/1.646, allocations: 0.5781 MB / 0.6407 GB, free: 51.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02675/1.673, allocations: 9.041 MB / 0.6495 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/1.673, allocations: 3.906 kB / 0.6495 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001623/1.675, allocations: 263.9 kB / 0.6498 GB, free: 41.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005865/1.676, allocations: 465.3 kB / 0.6502 GB, free: 41.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02268/1.698, allocations: 7.06 MB / 0.6571 GB, free: 34.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06507/1.763, allocations: 28.68 MB / 0.6851 GB, free: 4.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3544/2.118, allocations: 11.68 MB / 0.6965 GB, free: 66.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004436/2.122, allocations: 1.629 MB / 0.6981 GB, free: 66.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/2.123, allocations: 146.2 kB / 0.6983 GB, free: 65.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/2.123, allocations: 61.02 kB / 0.6983 GB, free: 65.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 6.302e-06/2.123, allocations: 1.344 kB / 0.6983 GB, free: 65.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.008/2.131, allocations: 2.657 MB / 0.7009 GB, free: 65.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/2.131, allocations: 110.6 kB / 0.701 GB, free: 65.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/2.135, allocations: 1.67 MB / 0.7027 GB, free: 65.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000508/2.136, allocations: 66.25 kB / 0.7027 GB, free: 65.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002275/2.138, allocations: 2.537 MB / 0.7052 GB, free: 64.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001291/2.14, allocations: 0.8483 MB / 0.706 GB, free: 63.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000357/2.14, allocations: 70.25 kB / 0.7061 GB, free: 63.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003229/2.14, allocations: 459.9 kB / 0.7065 GB, free: 63.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004283/2.145, allocations: 1.419 MB / 0.7079 GB, free: 63.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005473/2.15, allocations: 2.581 MB / 0.7104 GB, free: 62.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00533/2.156, allocations: 2.047 MB / 0.7124 GB, free: 62.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.064e-05/2.156, allocations: 11.12 kB / 0.7125 GB, free: 62.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.01257/2.168, allocations: 4.454 MB / 0.7168 GB, free: 62.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/2.168, allocations: 21.59 kB / 0.7168 GB, free: 62.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-05/2.168, allocations: 41.06 kB / 0.7169 GB, free: 62.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/2.17, allocations: 311.7 kB / 0.7172 GB, free: 61.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005533/2.175, allocations: 0.7735 MB / 0.7179 GB, free: 61.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00671/2.182, allocations: 4.613 MB / 0.7224 GB, free: 59.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/2.186, allocations: 417.3 kB / 0.7228 GB, free: 59.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005833/2.187, allocations: 161.1 kB / 0.723 GB, free: 59.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007216/2.187, allocations: 324.9 kB / 0.7233 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/2.188, allocations: 218.3 kB / 0.7235 GB, free: 58.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00806/2.196, allocations: 3.28 MB / 0.7267 GB, free: 58.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/2.196, allocations: 27 kB / 0.7267 GB, free: 58.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/2.196, allocations: 3.938 kB / 0.7267 GB, free: 58.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.84e-05/2.196, allocations: 14.62 kB / 0.7267 GB, free: 58.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02641/2.222, allocations: 11.83 MB / 0.7383 GB, free: 56.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/2.223, allocations: 15.12 kB / 0.7383 GB, free: 56.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003488/2.226, allocations: 437.4 kB / 0.7387 GB, free: 56.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/2.227, allocations: 272.7 kB / 0.739 GB, free: 56.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005142/2.228, allocations: 70.42 kB / 0.739 GB, free: 56.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006736/2.235, allocations: 4.549 MB / 0.7435 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-05/2.235, allocations: 27.48 kB / 0.7435 GB, free: 53.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/2.247, allocations: 6.08 MB / 0.7495 GB, free: 51.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009618/2.248, allocations: 337.3 kB / 0.7498 GB, free: 50.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007802/2.249, allocations: 62.98 kB / 0.7498 GB, free: 50.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/2.252, allocations: 127.2 kB / 0.75 GB, free: 50.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/2.252, allocations: 212.5 kB / 0.7502 GB, free: 50.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/2.253, allocations: 88.36 kB / 0.7502 GB, free: 50.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002836/2.255, allocations: 1.258 MB / 0.7515 GB, free: 50.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.72e-07/2.255, allocations: 0 / 0.7515 GB, free: 50.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006242/2.262, allocations: 1.447 MB / 0.7529 GB, free: 50.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01248/2.274, allocations: 10.78 MB / 0.7634 GB, free: 42.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008351/2.283, allocations: 3.594 MB / 0.7669 GB, free: 41.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.121e-05/2.283, allocations: 2.656 kB / 0.7669 GB, free: 41.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003874/2.287, allocations: 1.69 MB / 0.7686 GB, free: 40.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/2.291, allocations: 469.1 kB / 0.769 GB, free: 40.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/2.318, allocations: 9.944 MB / 0.7787 GB, free: 36.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006343/2.325, allocations: 4.115 MB / 0.7828 GB, free: 34.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005843/2.331, allocations: 1.208 MB / 0.7839 GB, free: 34.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004148/2.335, allocations: 1.913 MB / 0.7858 GB, free: 32.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/2.335, allocations: 0 / 0.7858 GB, free: 32.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/2.491, allocations: 64.55 MB / 0.8488 GB, free: 2.199 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/2.491, allocations: 202.8 kB / 0.849 GB, free: 1.965 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.372/6.864, allocations: 3.938 kB / 0.849 GB, free: 1.961 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat