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.298/2.298, allocations: 218.4 MB / 234.2 MB, free: 4.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.812e-05, allocations: 4 kB / 287.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.335, allocations: 50.37 MB / 338 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.002445/0.3374, allocations: 1.393 MB / 339.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3387, allocations: 480.6 kB / 339.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3388, allocations: 4 kB / 339.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.3388, allocations: 3.938 kB / 339.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.3389, allocations: 19.91 kB / 339.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.3393, allocations: 39.89 kB / 339.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3394, allocations: 35.89 kB / 339.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.3395, allocations: 15.98 kB / 339.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3396, allocations: 31.91 kB / 340 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.3397, allocations: 23.86 kB / 340 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.3398, allocations: 4 kB / 340 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3398, allocations: 0 / 340 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.3398, allocations: 7.938 kB / 340 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.3399, allocations: 4 kB / 340 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.34, allocations: 43.91 kB / 340.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.34, allocations: 0 / 340.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.34, allocations: 0 / 340.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.34, allocations: 0 / 340.1 MB, free: 13.74 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005771/0.3406, allocations: 376.3 kB / 340.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3407, allocations: 8.031 kB / 340.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.3407, allocations: 19.81 kB / 340.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.341, allocations: 196.6 kB / 340.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3411, allocations: 4 kB / 340.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.3411, allocations: 8 kB / 340.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.3416, allocations: 182.6 kB / 340.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3417, allocations: 0 / 340.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3417, allocations: 4 kB / 340.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3417, allocations: 0 / 340.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.3419, allocations: 43.92 kB / 340.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3424, allocations: 303.2 kB / 341.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.3428, allocations: 203.6 kB / 341.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3428, allocations: 12.12 kB / 341.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3429, allocations: 38.5 kB / 341.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.334e-06/0.3429, allocations: 4 kB / 341.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005131/0.3434, allocations: 133.5 kB / 341.6 MB, free: 12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.3435, allocations: 140.5 kB / 341.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3437, allocations: 123.6 kB / 341.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3437, allocations: 29.7 kB / 341.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.3438, allocations: 158.6 kB / 342 MB, free: 11.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.3438, allocations: 15.92 kB / 342 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.3438, allocations: 0 / 342 MB, free: 11.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.344, allocations: 314.8 kB / 342.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.3441, allocations: 19.98 kB / 342.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3442, allocations: 85.44 kB / 342.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3444, allocations: 27.94 kB / 342.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3444, allocations: 3.984 kB / 342.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003315/0.3447, allocations: 125.3 kB / 342.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3448, allocations: 4 kB / 342.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3448, allocations: 4 kB / 342.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3448, allocations: 4 kB / 342.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.345, allocations: 20.17 kB / 342.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.345, allocations: 7.938 kB / 342.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3451, allocations: 16.33 kB / 342.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3452, allocations: 8 kB / 342.6 MB, free: 10.83 MB / 282.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.0001298/0.3453, allocations: 117.8 kB / 342.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.3455, allocations: 97.45 kB / 342.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.3456, allocations: 16.3 kB / 342.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3456, allocations: 4 kB / 342.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3456, allocations: 0 / 342.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3456, allocations: 0 / 342.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3459, allocations: 193.4 kB / 343.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3459, allocations: 4 kB / 343.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.3461, allocations: 28.27 kB / 343.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3462, allocations: 4 kB / 343.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3462, allocations: 0 / 343.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3462, allocations: 4 kB / 343.1 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3462, allocations: 7.938 kB / 343.1 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.3466, allocations: 263 kB / 343.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.3467, allocations: 85.02 kB / 343.5 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3468, allocations: 4 kB / 343.5 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3469, allocations: 8 kB / 343.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3469, allocations: 7.953 kB / 343.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.347, allocations: 11.92 kB / 343.5 MB, free: 9.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.766e-05/0.3471, allocations: 99.27 kB / 343.6 MB, free: 9.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3471, allocations: 0 / 343.6 MB, free: 9.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003323/0.3474, allocations: 12 kB / 343.6 MB, free: 9.75 MB / 282.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.0001384/0.3476, allocations: 99.25 kB / 343.7 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.3479, allocations: 71.91 kB / 343.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3479, allocations: 4 kB / 343.8 MB, free: 9.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.348, allocations: 7.984 kB / 343.8 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.3485, allocations: 56.3 kB / 343.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.3491, allocations: 266.1 kB / 344.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3494, allocations: 0.7043 MB / 344.8 MB, free: 8.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.3495, allocations: 23.42 kB / 344.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3495, allocations: 0 / 344.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of Templates: time 0.00381/0.3533, allocations: 1.174 MB / 346 MB, free: 7.285 MB / 282.7 MB