Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.138e-05, allocations: 4 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.539, allocations: 86.97 MB / 430.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5394, allocations: 74.33 kB / 430.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1257/0.6651, allocations: 32.51 MB / 462.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6652, allocations: 0 / 462.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001594/0.6653, allocations: 59.94 kB / 462.8 MB, free: 10.92 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006578/0.6719, allocations: 1.963 MB / 464.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.672, allocations: 12.02 kB / 464.7 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009361/0.673, allocations: 332.6 kB / 465.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.6741, allocations: 253.2 kB / 465.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.6778, allocations: 1.242 MB / 466.6 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.678, allocations: 168.5 kB / 466.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006049/0.6786, allocations: 227.9 kB / 466.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007258/0.6859, allocations: 2.67 MB / 469.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.067e-05/0.686, allocations: 0 / 469.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003269/0.6864, allocations: 96 kB / 469.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.6864, allocations: 59.95 kB / 469.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005893/0.6923, allocations: 1.852 MB / 471.6 MB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.7135, allocations: 7.714 MB / 479.3 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.7155, allocations: 1.245 MB / 480.6 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.7172, allocations: 0.5907 MB / 481.2 MB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-05/0.7173, allocations: 4.562 kB / 481.2 MB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.7174, allocations: 47.06 kB / 481.2 MB, free: 7.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.357e-06/0.7174, allocations: 0 / 481.2 MB, free: 7.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.005479/0.7229, allocations: 2.088 MB / 483.3 MB, free: 5.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7229, allocations: 55.97 kB / 483.4 MB, free: 5.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.7244, allocations: 0.6989 MB / 484.1 MB, free: 4.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.7246, allocations: 41.7 kB / 484.1 MB, free: 4.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008377/0.7254, allocations: 0.9137 MB / 485 MB, free: 3.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.7257, allocations: 224.8 kB / 485.2 MB, free: 3.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.7258, allocations: 23.94 kB / 485.3 MB, free: 3.695 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.726, allocations: 394.7 kB / 485.6 MB, free: 3.301 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008716/0.7269, allocations: 345.6 kB / 486 MB, free: 2.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.728, allocations: 0.5688 MB / 486.6 MB, free: 2.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.729, allocations: 447 kB / 487 MB, free: 1.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.729, allocations: 4 kB / 487 MB, free: 1.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002846/0.7319, allocations: 1.104 MB / 488.1 MB, free: 0.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.732, allocations: 11.94 kB / 488.1 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.732, allocations: 8 kB / 488.1 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/0.7325, allocations: 104.8 kB / 488.2 MB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.7339, allocations: 183.8 kB / 488.4 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.7371, allocations: 2.131 MB / 490.5 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.7382, allocations: 39.97 kB / 490.6 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.7383, allocations: 35.98 kB / 490.6 MB, free: 14.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.7386, allocations: 152.7 kB / 490.8 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.7388, allocations: 83.12 kB / 490.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.7412, allocations: 0.8981 MB / 491.7 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.7412, allocations: 4 kB / 491.7 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.7412, allocations: 7.953 kB / 491.7 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7413, allocations: 8.047 kB / 491.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007173/0.7484, allocations: 2.67 MB / 494.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.7485, allocations: 4 kB / 494.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.7495, allocations: 108 kB / 494.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.75, allocations: 100.7 kB / 494.6 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.7501, allocations: 19.98 kB / 494.6 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.7532, allocations: 2.064 MB / 496.7 MB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/0.7533, allocations: 4.031 kB / 496.7 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.7567, allocations: 1.451 MB / 498.2 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006838/0.7574, allocations: 232 kB / 498.4 MB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.7576, allocations: 12 kB / 498.4 MB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/0.7584, allocations: 56.02 kB / 498.5 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.7586, allocations: 48.39 kB / 498.5 MB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.7587, allocations: 20 kB / 498.5 MB, free: 5.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.7599, allocations: 0.5459 MB / 499.1 MB, free: 5.305 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7599, allocations: 0 / 499.1 MB, free: 5.305 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00175/0.7617, allocations: 311.9 kB / 499.4 MB, free: 5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004108/0.7658, allocations: 2.383 MB / 0.49 GB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.7685, allocations: 1.014 MB / 0.491 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.7686, allocations: 1.875 kB / 0.491 GB, free: 1.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.7701, allocations: 0.589 MB / 0.4916 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.7721, allocations: 195.1 kB / 0.4918 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.7815, allocations: 3.051 MB / 0.4947 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.7837, allocations: 1.767 MB / 0.4965 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001068/0.7848, allocations: 191 kB / 0.4966 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.7861, allocations: 0.6321 MB / 0.4973 GB, free: 10.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7861, allocations: 0 / 0.4973 GB, free: 10.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07742/0.8636, allocations: 22.37 MB / 0.5191 GB, free: 4.824 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/0.8639, allocations: 178.7 kB / 0.5193 GB, free: 4.602 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/4.112, allocations: 0 / 0.5193 GB, free: 4.602 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat