Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.498/2.498, allocations: 251.5 MB / 266 MB, free: 0.6602 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1022/0.1022, allocations: 12.61 MB / 336.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.005e-05, allocations: 4 kB / 399.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4201, allocations: 59.41 MB / 459.2 MB, free: 28.6 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.001793/0.422, allocations: 1.279 MB / 460.5 MB, free: 27.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000826/0.4229, allocations: 464.1 kB / 460.9 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.423, allocations: 4 kB / 460.9 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.423, allocations: 3.938 kB / 460.9 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.4231, allocations: 7.984 kB / 460.9 MB, free: 26.83 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.4234, allocations: 39.84 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.67e-05/0.4235, allocations: 19.97 kB / 461 MB, free: 26.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.4236, allocations: 15.97 kB / 461 MB, free: 26.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.4237, allocations: 19.92 kB / 461 MB, free: 26.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.4237, allocations: 11.92 kB / 461 MB, free: 26.72 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.4238, allocations: 0 / 461 MB, free: 26.72 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.4238, allocations: 4 kB / 461 MB, free: 26.72 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.4238, allocations: 19.92 kB / 461.1 MB, free: 26.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.4239, allocations: 4 kB / 461.1 MB, free: 26.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.259e-05/0.424, allocations: 31.94 kB / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.424, allocations: 0 / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.424, allocations: 0 / 461.1 MB, free: 26.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.424, allocations: 0 / 461.1 MB, free: 26.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004324/0.4244, allocations: 357.9 kB / 461.4 MB, free: 26.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4245, allocations: 12.03 kB / 461.5 MB, free: 26.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.4245, allocations: 15.84 kB / 461.5 MB, free: 26.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.4247, allocations: 184.1 kB / 461.7 MB, free: 26.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4247, allocations: 0 / 461.7 MB, free: 26.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.4248, allocations: 7.938 kB / 461.7 MB, free: 26.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.4251, allocations: 113 kB / 461.8 MB, free: 25.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4251, allocations: 4 kB / 461.8 MB, free: 25.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4251, allocations: 0 / 461.8 MB, free: 25.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4251, allocations: 3.938 kB / 461.8 MB, free: 25.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.4253, allocations: 27.97 kB / 461.8 MB, free: 25.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.4256, allocations: 273.5 kB / 462.1 MB, free: 25.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.4258, allocations: 142.4 kB / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.4258, allocations: 0 / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.4259, allocations: 34.5 kB / 462.2 MB, free: 25.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.4259, allocations: 0 / 462.2 MB, free: 25.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003278/0.4262, allocations: 89.67 kB / 462.3 MB, free: 25.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4263, allocations: 85.05 kB / 462.4 MB, free: 25.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4264, allocations: 122.2 kB / 462.5 MB, free: 24.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.4264, allocations: 33.69 kB / 462.6 MB, free: 24.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.4264, allocations: 88.14 kB / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.4265, allocations: 4.125 kB / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-06/0.4265, allocations: 0 / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.4266, allocations: 314.8 kB / 463 MB, free: 24.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.4266, allocations: 11.98 kB / 463 MB, free: 24.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.4267, allocations: 39.42 kB / 463 MB, free: 24.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.158e-05/0.4268, allocations: 12 kB / 463 MB, free: 24.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4268, allocations: 3.938 kB / 463 MB, free: 24.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001928/0.427, allocations: 77.52 kB / 463.1 MB, free: 24.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.427, allocations: 4 kB / 463.1 MB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.4271, allocations: 8.125 kB / 463.1 MB, free: 24.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4271, allocations: 3.938 kB / 463.1 MB, free: 24.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.4272, allocations: 11.98 kB / 463.1 MB, free: 24.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4272, allocations: 3.984 kB / 463.1 MB, free: 24.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/0.4273, allocations: 7.953 kB / 463.1 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.4273, allocations: 4 kB / 463.2 MB, free: 24.34 MB / 346.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 (4): * Single equations (assignments): 4 * 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 6.981e-05/0.4274, allocations: 121.8 kB / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.4275, allocations: 45.61 kB / 463.3 MB, free: 24.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.4275, allocations: 20.23 kB / 463.3 MB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.4275, allocations: 0 / 463.3 MB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4275, allocations: 0 / 463.3 MB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4276, allocations: 336 / 463.3 MB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.4277, allocations: 173.6 kB / 463.5 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4277, allocations: 0 / 463.5 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.4278, allocations: 11.98 kB / 463.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4278, allocations: 0 / 463.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.4279, allocations: 0 / 463.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4279, allocations: 4 kB / 463.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4279, allocations: 7.984 kB / 463.5 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.4281, allocations: 189.9 kB / 463.7 MB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-05/0.4282, allocations: 89 kB / 463.8 MB, free: 23.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.4282, allocations: 7.938 kB / 463.8 MB, free: 23.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.4283, allocations: 12 kB / 463.8 MB, free: 23.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.4284, allocations: 0 / 463.8 MB, free: 23.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4284, allocations: 3.984 kB / 463.8 MB, free: 23.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.862e-05/0.4285, allocations: 108.8 kB / 463.9 MB, free: 23.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4285, allocations: 0 / 463.9 MB, free: 23.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.4288, allocations: 8 kB / 463.9 MB, free: 23.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.935e-05/0.4289, allocations: 99.19 kB / 464 MB, free: 23.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.4291, allocations: 39.91 kB / 464.1 MB, free: 23.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4291, allocations: 0 / 464.1 MB, free: 23.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.4291, allocations: 12 kB / 464.1 MB, free: 23.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.4295, allocations: 27.95 kB / 464.1 MB, free: 23.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.4298, allocations: 185.9 kB / 464.3 MB, free: 23.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.43, allocations: 0.6965 MB / 465 MB, free: 22.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.43, allocations: 0 / 465 MB, free: 22.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.4301, allocations: 11.44 kB / 465 MB, free: 22.31 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4301, allocations: 0 / 465 MB, free: 22.31 MB / 346.7 MB Notification: Performance of Templates: time 0.003259/0.4334, allocations: 482.7 kB / 465.5 MB, free: 21.85 MB / 346.7 MB