Running command: translateModel(KeyWordIO.Examples.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/KeyWordIO 0.9.0/readLineWithoutCache.mo:11:24-11:1688:writable] Warning: Lexer treating \ as \\, since \0 is not a valid Modelica escape sequence. Notification: Performance of loadModel(KeyWordIO): time 1.951/1.951, allocations: 206.8 MB / 218.9 MB, free: 8.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.983e-05, allocations: 4 kB / 269.6 MB, free: 5.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0844/0.08445, allocations: 47.78 MB / 317.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/0.4079, allocations: 75.55 MB / 392.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.4082, allocations: 67.22 kB / 393 MB, free: 10.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006199/0.4144, allocations: 1.789 MB / 394.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.148e-06/0.4144, allocations: 4 kB / 394.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.056e-06/0.4145, allocations: 0 / 394.8 MB, free: 9.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003744/0.4148, allocations: 363.1 kB / 395.1 MB, free: 8.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4149, allocations: 8.031 kB / 395.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.4149, allocations: 4 kB / 395.1 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4151, allocations: 163.1 kB / 395.3 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4151, allocations: 3.953 kB / 395.3 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.4152, allocations: 0 / 395.3 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.598e-05/0.4153, allocations: 36.95 kB / 395.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.445e-06/0.4153, allocations: 0 / 395.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4153, allocations: 0 / 395.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-06/0.4153, allocations: 2.188 kB / 395.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.4154, allocations: 7.938 kB / 395.4 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.4156, allocations: 157.1 kB / 395.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.766e-05/0.4156, allocations: 21.91 kB / 395.5 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.4157, allocations: 16.91 kB / 395.5 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.4157, allocations: 0 / 395.5 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.4159, allocations: 106.3 kB / 395.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 2.255e-06/0.4159, allocations: 0 / 395.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.416, allocations: 70.31 kB / 395.7 MB, free: 8.047 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.4161, allocations: 77.11 kB / 395.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.4162, allocations: 100.6 kB / 395.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4163, allocations: 29.73 kB / 395.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.4163, allocations: 87.38 kB / 396 MB, free: 7.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.4164, allocations: 7.938 kB / 396 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-06/0.4164, allocations: 0 / 396 MB, free: 7.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4166, allocations: 310.8 kB / 396.3 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.4166, allocations: 3.375 kB / 396.3 MB, free: 7.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.4166, allocations: 13.72 kB / 396.3 MB, free: 7.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.4167, allocations: 33.77 kB / 396.4 MB, free: 7.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4167, allocations: 0 / 396.4 MB, free: 7.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001328/0.4168, allocations: 83.33 kB / 396.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.4169, allocations: 33.64 kB / 396.5 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.43e-06/0.4169, allocations: 4 kB / 396.5 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.4169, allocations: 0 / 396.5 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.417, allocations: 7.984 kB / 396.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.24e-06/0.417, allocations: 0 / 396.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.4171, allocations: 8.062 kB / 396.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4171, allocations: 7.938 kB / 396.5 MB, free: 7.195 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0001025/0.4172, allocations: 129.7 kB / 396.6 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.4173, allocations: 7.953 kB / 396.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.4173, allocations: 11.59 kB / 396.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-06/0.4173, allocations: 0 / 396.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-06/0.4173, allocations: 0 / 396.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.196e-06/0.4173, allocations: 4 kB / 396.7 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.4175, allocations: 152.8 kB / 396.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4175, allocations: 4 kB / 396.8 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.4176, allocations: 11.98 kB / 396.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.395e-06/0.4176, allocations: 0 / 396.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4176, allocations: 3.953 kB / 396.8 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.108e-06/0.4176, allocations: 0 / 396.8 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.011e-06/0.4176, allocations: 3.938 kB / 396.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.4178, allocations: 93.66 kB / 396.9 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.4179, allocations: 89.03 kB / 397 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.4179, allocations: 4 kB / 397 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.418, allocations: 7.953 kB / 397 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.418, allocations: 3.984 kB / 397 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.418, allocations: 4 kB / 397 MB, free: 6.586 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.4181, allocations: 83.03 kB / 397.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.4181, allocations: 4 kB / 397.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.4184, allocations: 19.38 kB / 397.1 MB, free: 6.488 MB / 314.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: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.000483/0.4189, allocations: 197.5 kB / 397.3 MB, free: 6.312 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.4191, allocations: 71.14 kB / 397.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4191, allocations: 0 / 397.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.4192, allocations: 59.34 kB / 397.5 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.4193, allocations: 4 kB / 397.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.4195, allocations: 60.86 kB / 397.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.4199, allocations: 0.6811 MB / 398.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.904e-05/0.4199, allocations: 4 kB / 398.2 MB, free: 5.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.4199, allocations: 11.44 kB / 398.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of SimCode: time 1.349e-06/0.4199, allocations: 0 / 398.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of Templates: time 0.003606/0.4235, allocations: 0.6722 MB / 398.9 MB, free: 4.695 MB / 314.7 MB