Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.155/2.155, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.72e-05, allocations: 4 kB / 284.3 MB, free: 8.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08934, allocations: 50.36 MB / 334.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4458, allocations: 78.44 MB / 413.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4461, allocations: 61.53 kB / 413.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005695/0.4518, allocations: 1.457 MB / 414.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.408e-06/0.4518, allocations: 0 / 414.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4519, allocations: 0 / 414.6 MB, free: 14.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004679/0.4523, allocations: 375.1 kB / 415 MB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4524, allocations: 8.031 kB / 415 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.4525, allocations: 11.91 kB / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.4527, allocations: 197.5 kB / 415.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4528, allocations: 7.953 kB / 415.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.872e-05/0.4528, allocations: 7.25 kB / 415.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.4532, allocations: 162.3 kB / 415.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4532, allocations: 3.938 kB / 415.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4532, allocations: 7.109 kB / 415.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-06/0.4533, allocations: 4 kB / 415.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/0.4534, allocations: 22.75 kB / 415.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.4539, allocations: 305.5 kB / 415.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.4542, allocations: 199.9 kB / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.4543, allocations: 67.75 kB / 416 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.4544, allocations: 3.984 kB / 416 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.4544, allocations: 38.38 kB / 416 MB, free: 12.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.891e-06/0.4544, allocations: 0 / 416 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003014/0.4547, allocations: 103.8 kB / 416.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4549, allocations: 135.7 kB / 416.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.455, allocations: 119.3 kB / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.455, allocations: 33.45 kB / 416.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.4551, allocations: 158.2 kB / 416.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.87e-05/0.4552, allocations: 3.062 kB / 416.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.4552, allocations: 3.312 kB / 416.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4554, allocations: 322.9 kB / 416.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.789e-05/0.4554, allocations: 11.19 kB / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/0.4555, allocations: 75.92 kB / 417 MB, free: 11.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.763e-05/0.4556, allocations: 29.75 kB / 417 MB, free: 11.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-06/0.4556, allocations: 0 / 417 MB, free: 11.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002177/0.4558, allocations: 104 kB / 417.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4559, allocations: 4 kB / 417.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.808e-06/0.4559, allocations: 4 kB / 417.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4559, allocations: 4 kB / 417.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.4561, allocations: 23.92 kB / 417.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.23e-06/0.4561, allocations: 4.344 kB / 417.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.762e-05/0.4562, allocations: 15.94 kB / 417.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4562, allocations: 7.938 kB / 417.2 MB, free: 11.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000101/0.4564, allocations: 124.5 kB / 417.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.4566, allocations: 75.22 kB / 417.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.4566, allocations: 18.97 kB / 417.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.4566, allocations: 4 kB / 417.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.314e-06/0.4567, allocations: 3.984 kB / 417.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4567, allocations: 4.031 kB / 417.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.4569, allocations: 182.5 kB / 417.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.457, allocations: 3.953 kB / 417.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.4571, allocations: 27.92 kB / 417.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.567e-06/0.4571, allocations: 0 / 417.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4571, allocations: 4 kB / 417.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.001e-06/0.4572, allocations: 0 / 417.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-06/0.4572, allocations: 0 / 417.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.4575, allocations: 249.5 kB / 417.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.4576, allocations: 96.25 kB / 417.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4576, allocations: 0 / 417.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.4577, allocations: 4 kB / 417.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.4578, allocations: 11.44 kB / 417.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.4578, allocations: 4 kB / 418 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.767e-05/0.4579, allocations: 101.8 kB / 418 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.4579, allocations: 0 / 418 MB, free: 10.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.4583, allocations: 19.52 kB / 418.1 MB, free: 10.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0001312/0.4585, allocations: 95.25 kB / 418.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.4586, allocations: 58.67 kB / 418.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4587, allocations: 4.062 kB / 418.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.4587, allocations: 7.312 kB / 418.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.4591, allocations: 52.03 kB / 418.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.4595, allocations: 162.1 kB / 418.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.4599, allocations: 0.7084 MB / 419.1 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.46, allocations: 15.42 kB / 419.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of SimCode: time 1.579e-06/0.46, allocations: 0 / 419.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of Templates: time 0.003201/0.4632, allocations: 1.176 MB / 420.3 MB, free: 8.535 MB / 346.7 MB