Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.123e-05/5.138e-05, allocations: 7.234 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4878/0.6182, allocations: 86.27 MB / 496.6 MB, free: 1.738 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.6185, allocations: 71.95 kB / 496.7 MB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005473/0.624, allocations: 1.536 MB / 498.2 MB, free: 144 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6241, allocations: 0 / 498.2 MB, free: 144 kB / 394.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.6241, allocations: 0 / 498.2 MB, free: 144 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005467/0.6247, allocations: 378.5 kB / 498.6 MB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6247, allocations: 8.031 kB / 498.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.498e-05/0.6248, allocations: 46.48 kB / 498.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.6249, allocations: 11.91 kB / 498.7 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.625, allocations: 175 kB / 498.8 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.6251, allocations: 12.19 kB / 498.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.6251, allocations: 12 kB / 498.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.6255, allocations: 128.8 kB / 499 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6255, allocations: 0 / 499 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.6255, allocations: 8 kB / 499 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6255, allocations: 0 / 499 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.6257, allocations: 56 kB / 499.1 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.6269, allocations: 0.7274 MB / 499.8 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.627, allocations: 165.1 kB / 499.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.627, allocations: 84.12 kB / 0.4883 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.6271, allocations: 83.22 kB / 0.4884 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/0.6272, allocations: 109.8 kB / 0.4885 GB, free: 13.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 3.016e-06/0.6272, allocations: 0 / 0.4885 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.131e-05/0.6273, allocations: 33.61 kB / 0.4885 GB, free: 13.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.6274, allocations: 126.7 kB / 0.4886 GB, free: 13.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.6276, allocations: 132.5 kB / 0.4888 GB, free: 13.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6276, allocations: 25.7 kB / 0.4888 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.6277, allocations: 127.5 kB / 0.4889 GB, free: 13.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.6277, allocations: 3.984 kB / 0.4889 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.6277, allocations: 8 kB / 0.4889 GB, free: 13.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6279, allocations: 314.8 kB / 0.4892 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.6279, allocations: 15.94 kB / 0.4892 GB, free: 13.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.332e-05/0.628, allocations: 41.09 kB / 0.4893 GB, free: 13.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.6281, allocations: 19.98 kB / 0.4893 GB, free: 13.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6281, allocations: 0 / 0.4893 GB, free: 13.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001819/0.6283, allocations: 61.62 kB / 0.4894 GB, free: 13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.6283, allocations: 11.94 kB / 0.4894 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6283, allocations: 0 / 0.4894 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.6283, allocations: 8.188 kB / 0.4894 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.6285, allocations: 8.125 kB / 0.4894 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6285, allocations: 4 kB / 0.4894 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.6286, allocations: 11.84 kB / 0.4894 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.6286, allocations: 8 kB / 0.4894 GB, free: 12.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001116/0.6287, allocations: 186.8 kB / 0.4896 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/0.6288, allocations: 116.8 kB / 0.4897 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.6289, allocations: 108.6 kB / 0.4898 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.233e-05/0.629, allocations: 184.3 kB / 0.49 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.083e-05/0.6291, allocations: 184.2 kB / 0.4902 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-05/0.6292, allocations: 176.3 kB / 0.4903 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.6295, allocations: 437.1 kB / 0.4907 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.037e-05/0.6296, allocations: 108.9 kB / 0.4908 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.6297, allocations: 108.9 kB / 0.4909 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.509e-05/0.6297, allocations: 176.3 kB / 0.4911 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.6298, allocations: 184.2 kB / 0.4913 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.607e-05/0.6299, allocations: 188.2 kB / 0.4915 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.867e-05/0.63, allocations: 178.3 kB / 0.4916 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.6302, allocations: 311.6 kB / 0.4919 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.6303, allocations: 190.1 kB / 0.4921 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.6304, allocations: 180.2 kB / 0.4923 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.6306, allocations: 105 kB / 0.4924 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.6307, allocations: 176.3 kB / 0.4926 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.6307, allocations: 116.9 kB / 0.4927 GB, free: 9.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.6308, allocations: 111 kB / 0.4928 GB, free: 9.285 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6309, allocations: 0 / 0.4928 GB, free: 9.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.6312, allocations: 15.91 kB / 0.4928 GB, free: 9.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004772/0.6317, allocations: 0.8165 MB / 0.4936 GB, free: 8.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.141e-05/0.6318, allocations: 11.94 kB / 0.4936 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6318, allocations: 0 / 0.4936 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.6318, allocations: 0 / 0.4936 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.6322, allocations: 0.5301 MB / 0.4941 GB, free: 7.875 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.6328, allocations: 226.3 kB / 0.4943 GB, free: 7.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.6331, allocations: 0.6965 MB / 0.495 GB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.661e-05/0.6332, allocations: 4 kB / 0.495 GB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.6333, allocations: 23.42 kB / 0.495 GB, free: 6.867 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6333, allocations: 0 / 0.495 GB, free: 6.867 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.656, allocations: 1.317 MB / 0.4963 GB, free: 5.617 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.6564, allocations: 163.6 kB / 0.4965 GB, free: 5.379 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.89, allocations: 0 / 0.4965 GB, free: 5.379 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat does not exist to compare? outputFormat=mat