Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.823e-05, allocations: 1.031 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.624, allocations: 88.09 MB / 498.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.6243, allocations: 69.34 kB / 498.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.6388, allocations: 2.882 MB / 0.4897 GB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6388, allocations: 0 / 0.4897 GB, free: 12.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.6388, allocations: 4 kB / 0.4897 GB, free: 12.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009157/0.6398, allocations: 430.3 kB / 0.4901 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.6398, allocations: 8.031 kB / 0.4901 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.6399, allocations: 38.56 kB / 0.4901 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.64, allocations: 7.906 kB / 0.4901 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.6402, allocations: 190.8 kB / 0.4903 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.6402, allocations: 12.14 kB / 0.4903 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.6403, allocations: 11.94 kB / 0.4903 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.6406, allocations: 112.2 kB / 0.4904 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.6406, allocations: 0 / 0.4904 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.6407, allocations: 8 kB / 0.4904 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6407, allocations: 0 / 0.4904 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.6409, allocations: 55.91 kB / 0.4905 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.6421, allocations: 459.4 kB / 0.4909 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.6423, allocations: 54.5 kB / 0.491 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.6424, allocations: 24.86 kB / 0.491 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.6425, allocations: 0 / 0.491 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.6425, allocations: 38.5 kB / 0.4911 GB, free: 11.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.6425, allocations: 0 / 0.4911 GB, free: 11.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001133/0.6437, allocations: 193.4 kB / 0.4912 GB, free: 11.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.6438, allocations: 110.8 kB / 0.4913 GB, free: 11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.644, allocations: 132.8 kB / 0.4915 GB, free: 10.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.644, allocations: 25.7 kB / 0.4915 GB, free: 10.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.6441, allocations: 116.1 kB / 0.4916 GB, free: 10.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.6442, allocations: 23.64 kB / 0.4916 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.6442, allocations: 4 kB / 0.4916 GB, free: 10.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6443, allocations: 314.8 kB / 0.4919 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.6444, allocations: 35.98 kB / 0.492 GB, free: 10.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.6446, allocations: 60.3 kB / 0.492 GB, free: 10.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.6447, allocations: 31.97 kB / 0.4921 GB, free: 10.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6447, allocations: 4 kB / 0.4921 GB, free: 10.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003231/0.6451, allocations: 109.5 kB / 0.4922 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.6451, allocations: 12.05 kB / 0.4922 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6451, allocations: 0 / 0.4922 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6452, allocations: 0 / 0.4922 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.6463, allocations: 95.84 kB / 0.4923 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.6483, allocations: 1.374 MB / 0.4936 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.6488, allocations: 40.12 kB / 0.4936 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.6488, allocations: 4 kB / 0.4936 GB, free: 8.441 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.6489, allocations: 107.4 kB / 0.4938 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.649, allocations: 11.86 kB / 0.4938 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.6494, allocations: 106.3 kB / 0.4939 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6494, allocations: 0 / 0.4939 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6494, allocations: 0 / 0.4939 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6494, allocations: 144 / 0.4939 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/0.6502, allocations: 410.3 kB / 0.4943 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6503, allocations: 4 kB / 0.4943 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.6506, allocations: 31.97 kB / 0.4943 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.6506, allocations: 4 kB / 0.4943 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.6506, allocations: 4.062 kB / 0.4943 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6507, allocations: 0 / 0.4943 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6507, allocations: 0 / 0.4943 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.651, allocations: 183.4 kB / 0.4945 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.6511, allocations: 92.95 kB / 0.4946 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.6512, allocations: 8.188 kB / 0.4946 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.6516, allocations: 27.97 kB / 0.4946 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.6516, allocations: 11.92 kB / 0.4946 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.6517, allocations: 0 / 0.4946 GB, free: 7.359 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.6518, allocations: 107.3 kB / 0.4947 GB, free: 7.254 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6518, allocations: 4 kB / 0.4947 GB, free: 7.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003865/0.6522, allocations: 28 kB / 0.4947 GB, free: 7.223 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 (7): * Single equations (assignments): 7 * 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.0006887/0.6529, allocations: 0.724 MB / 0.4954 GB, free: 6.473 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.654, allocations: 120.1 kB / 0.4956 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.654, allocations: 0 / 0.4956 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.6541, allocations: 27.94 kB / 0.4956 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.6545, allocations: 15.42 kB / 0.4956 GB, free: 6.316 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.6567, allocations: 323.9 kB / 0.4959 GB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.6571, allocations: 0.7043 MB / 0.4966 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.6572, allocations: 12.44 kB / 0.4966 GB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.6574, allocations: 31.42 kB / 0.4966 GB, free: 5.188 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6574, allocations: 0 / 0.4966 GB, free: 5.188 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.6861, allocations: 2.681 MB / 0.4993 GB, free: 2.621 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.6864, allocations: 189.5 kB / 0.4994 GB, free: 2.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.973, allocations: 0 / 0.4994 GB, free: 2.398 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat does not exist to compare? outputFormat=mat