Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.704/1.704, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.338e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2861, allocations: 38.77 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4034, allocations: 66.39 MB / 330.3 MB, free: 7.332 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.4037, allocations: 63.97 kB / 330.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01949/0.4232, allocations: 4.476 MB / 334.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4233, allocations: 0 / 334.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.4233, allocations: 8 kB / 334.8 MB, free: 2.762 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009448/0.4243, allocations: 0.4945 MB / 335.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4243, allocations: 8.031 kB / 335.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.351e-05/0.4244, allocations: 62.55 kB / 335.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.653e-05/0.4245, allocations: 35.61 kB / 335.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.4249, allocations: 226.7 kB / 335.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.425, allocations: 20.52 kB / 335.6 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.4251, allocations: 35.89 kB / 335.7 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.4257, allocations: 241.5 kB / 335.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.4257, allocations: 4 kB / 335.9 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.4257, allocations: 8 kB / 335.9 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4258, allocations: 8 kB / 335.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.4262, allocations: 167.9 kB / 336.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.4277, allocations: 0.75 MB / 336.8 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.4283, allocations: 261.1 kB / 337.1 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.4286, allocations: 122.3 kB / 337.2 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.4287, allocations: 8 kB / 337.2 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4288, allocations: 42.41 kB / 337.3 MB, free: 96 kB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 5.02e-06/0.4288, allocations: 0 / 337.3 MB, free: 96 kB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.003864/0.4326, allocations: 1.618 MB / 338.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4328, allocations: 85.11 kB / 339 MB, free: 14.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.433, allocations: 162.6 kB / 339.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.4331, allocations: 33.7 kB / 339.2 MB, free: 14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4332, allocations: 136.8 kB / 339.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.4334, allocations: 177.4 kB / 339.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.4334, allocations: 12 kB / 339.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4336, allocations: 334.8 kB / 339.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.4339, allocations: 97.12 kB / 339.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.4342, allocations: 152.4 kB / 340.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.4346, allocations: 122.3 kB / 340.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4346, allocations: 3.938 kB / 340.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008382/0.4354, allocations: 350.3 kB / 340.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4355, allocations: 7.938 kB / 340.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4355, allocations: 4 kB / 340.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.4355, allocations: 4 kB / 340.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/0.4363, allocations: 104 kB / 340.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.4363, allocations: 4 kB / 340.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.4366, allocations: 8 kB / 340.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.4366, allocations: 16 kB / 340.7 MB, free: 12.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001729/0.4368, allocations: 128.8 kB / 340.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.4369, allocations: 31.67 kB / 340.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.437, allocations: 37.66 kB / 340.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4371, allocations: 4 kB / 340.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4371, allocations: 0 / 340.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.4371, allocations: 11.97 kB / 340.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.4391, allocations: 0.944 MB / 341.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4392, allocations: 0 / 341.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/0.44, allocations: 95.89 kB / 341.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.4401, allocations: 4 kB / 341.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.4401, allocations: 11.95 kB / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.4401, allocations: 3.984 kB / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4402, allocations: 4 kB / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4414, allocations: 0.6645 MB / 342.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.4415, allocations: 100.8 kB / 342.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.4416, allocations: 12 kB / 342.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.4419, allocations: 4 kB / 342.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.4419, allocations: 35.97 kB / 342.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.442, allocations: 12 kB / 342.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.4422, allocations: 135.4 kB / 342.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4422, allocations: 3.938 kB / 342.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005503/0.4427, allocations: 80 kB / 343 MB, free: 10.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.001546/0.4443, allocations: 1.424 MB / 344.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007574/0.4451, allocations: 286.8 kB / 344.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4451, allocations: 4 kB / 344.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.4454, allocations: 147.8 kB / 344.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.4462, allocations: 56.22 kB / 344.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.4487, allocations: 0.9763 MB / 345.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.4492, allocations: 0.7806 MB / 346.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.4494, allocations: 30.97 kB / 346.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.4497, allocations: 91.41 kB / 346.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of SimCode: time 1.153e-06/0.4497, allocations: 0 / 346.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.4781, allocations: 5.488 MB / 352.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/0.4784, allocations: 164.7 kB / 352.4 MB, free: 464 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.172, allocations: 0 / 352.4 MB, free: 464 kB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat