Running command: translateModel(Modelica.Electrical.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.ShowImpedance") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.95e-05, allocations: 2.031 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09116, allocations: 50.42 MB / 342.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.4549, allocations: 78.59 MB / 421.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4552, allocations: 77.52 kB / 421.2 MB, free: 15.52 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[2].R to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[2].C to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[1].R to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[1].C to false. Notification: Performance of FrontEnd - DAE generated: time 0.04545/0.5007, allocations: 13.44 MB / 434.6 MB, free: 3.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.842e-06/0.5007, allocations: 4 kB / 434.7 MB, free: 3.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.465e-05/0.5008, allocations: 11.94 kB / 434.7 MB, free: 3.547 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00136/0.5021, allocations: 0.8045 MB / 435.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5022, allocations: 12.03 kB / 435.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.5023, allocations: 82.97 kB / 435.6 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.5036, allocations: 0.7011 MB / 436.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.5037, allocations: 4 kB / 436.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.5037, allocations: 0 / 436.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.5039, allocations: 67.02 kB / 436.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-06/0.5039, allocations: 4 kB / 436.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5039, allocations: 4 kB / 436.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-06/0.5039, allocations: 0 / 436.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/0.504, allocations: 19.48 kB / 436.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.5055, allocations: 0.9489 MB / 437.3 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.972e-05/0.5056, allocations: 33.14 kB / 437.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.5056, allocations: 12.91 kB / 437.4 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.5056, allocations: 0 / 437.4 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5057, allocations: 34.44 kB / 437.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.003e-06/0.5057, allocations: 0 / 437.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003184/0.506, allocations: 116.7 kB / 437.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.5061, allocations: 59.38 kB / 437.6 MB, free: 0.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.5083, allocations: 1.277 MB / 438.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.5083, allocations: 25.7 kB / 438.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.5086, allocations: 362.6 kB / 439.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.5086, allocations: 4 kB / 439.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-06/0.5086, allocations: 0 / 439.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5088, allocations: 314.5 kB / 439.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.5089, allocations: 4 kB / 439.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.5089, allocations: 21.66 kB / 439.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.509, allocations: 7.984 kB / 439.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-06/0.509, allocations: 0 / 439.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001315/0.5091, allocations: 48.89 kB / 439.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5091, allocations: 7.938 kB / 439.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.213e-06/0.5092, allocations: 0 / 439.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5092, allocations: 0 / 439.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5093, allocations: 20.11 kB / 439.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.627e-06/0.5094, allocations: 0 / 439.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.5096, allocations: 23.8 kB / 439.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5096, allocations: 0 / 439.7 MB, free: 15.02 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.309e-05/0.5097, allocations: 101 kB / 439.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.5099, allocations: 86.83 kB / 439.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.51, allocations: 101.5 kB / 439.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-06/0.5101, allocations: 4 kB / 439.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5101, allocations: 7.922 kB / 439.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.265e-06/0.5101, allocations: 0 / 439.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006684/0.5108, allocations: 478.1 kB / 440.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-06/0.5108, allocations: 0 / 440.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.5109, allocations: 11.98 kB / 440.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-06/0.5109, allocations: 3.953 kB / 440.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.5109, allocations: 3.984 kB / 440.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.297e-06/0.511, allocations: 0 / 440.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.808e-06/0.511, allocations: 4 kB / 440.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.5113, allocations: 222.5 kB / 440.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.5117, allocations: 217.2 kB / 440.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.5118, allocations: 7.453 kB / 440.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.512, allocations: 7.984 kB / 440.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.5121, allocations: 4 kB / 440.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.505e-06/0.5121, allocations: 3.984 kB / 440.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001698/0.5138, allocations: 1.005 MB / 441.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.5138, allocations: 0 / 441.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005152/0.5143, allocations: 79.88 kB / 442 MB, free: 12.95 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002866/0.5146, allocations: 177.9 kB / 442.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.5148, allocations: 15.23 kB / 442.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5148, allocations: 0 / 442.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.5148, allocations: 11.25 kB / 442.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.5154, allocations: 110.8 kB / 442.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.5175, allocations: 1.074 MB / 443.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/0.5184, allocations: 1.01 MB / 444.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.5186, allocations: 35.44 kB / 444.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.609e-06/0.5186, allocations: 4 kB / 444.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of Templates: time 0.01709/0.5357, allocations: 8.307 MB / 452.7 MB, free: 2.426 MB / 362.7 MB