Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.9 MB / 208.4 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.738e-05, allocations: 0 / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07716/0.07721, allocations: 44.51 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4445, allocations: 73.11 MB / 372.9 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.4448, allocations: 66.62 kB / 373 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.4639, allocations: 4.649 MB / 377.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.464, allocations: 0 / 377.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.464, allocations: 4.719 kB / 377.7 MB, free: 22.04 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001003/0.465, allocations: 0.531 MB / 378.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4651, allocations: 9.688 kB / 378.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.4652, allocations: 34.36 kB / 378.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.4655, allocations: 252.2 kB / 378.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.4656, allocations: 12.53 kB / 378.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.4656, allocations: 20.31 kB / 378.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.4662, allocations: 269.6 kB / 378.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4662, allocations: 0 / 378.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.4663, allocations: 10.38 kB / 378.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4663, allocations: 5.188 kB / 378.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.4668, allocations: 182.1 kB / 379 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.4689, allocations: 1.269 MB / 380.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.4705, allocations: 334.7 kB / 380.6 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.4708, allocations: 100.3 kB / 380.7 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.4708, allocations: 3.328 kB / 380.7 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.4708, allocations: 37.23 kB / 380.7 MB, free: 20.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.179e-06/0.4708, allocations: 4 kB / 380.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.002964/0.4738, allocations: 0.5186 MB / 381.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.4739, allocations: 54 kB / 381.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.4742, allocations: 197.1 kB / 381.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.4742, allocations: 30.52 kB / 381.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.4743, allocations: 219.3 kB / 381.7 MB, free: 20 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.4744, allocations: 54.12 kB / 381.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.4744, allocations: 5.031 kB / 381.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.4745, allocations: 321.4 kB / 382.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.4747, allocations: 67.45 kB / 382.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.4749, allocations: 90.72 kB / 382.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.4751, allocations: 71.34 kB / 382.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-06/0.4751, allocations: 1.219 kB / 382.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002973/0.4781, allocations: 0.5507 MB / 382.9 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4782, allocations: 6.312 kB / 382.9 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.135e-06/0.4782, allocations: 0 / 382.9 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004211/0.4786, allocations: 140.3 kB / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.4789, allocations: 40.47 kB / 383 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.4846, allocations: 2.179 MB / 385.2 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.485, allocations: 47.67 kB / 385.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.4851, allocations: 10.98 kB / 385.3 MB, free: 18.13 MB / 314.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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.4852, allocations: 113.9 kB / 385.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.4853, allocations: 21.69 kB / 385.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.4854, allocations: 23.58 kB / 385.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-06/0.4854, allocations: 1.438 kB / 385.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.531e-06/0.4854, allocations: 0 / 385.4 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-06/0.4854, allocations: 6.25 kB / 385.4 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.4859, allocations: 326.2 kB / 385.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4859, allocations: 3.938 kB / 385.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.4861, allocations: 33.67 kB / 385.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/0.4865, allocations: 132.6 kB / 385.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.4865, allocations: 7.25 kB / 385.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005525/0.4921, allocations: 2.182 MB / 388.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.868e-06/0.4921, allocations: 1.312 kB / 388.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.4953, allocations: 0.7164 MB / 388.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.4954, allocations: 92.89 kB / 388.9 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.4955, allocations: 3.562 kB / 388.9 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.4959, allocations: 40.55 kB / 389 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.496, allocations: 12.11 kB / 389 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.496, allocations: 5.312 kB / 389 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.4962, allocations: 163.9 kB / 389.1 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.4962, allocations: 0 / 389.1 MB, free: 16.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006447/0.4969, allocations: 83.81 kB / 389.2 MB, free: 16.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000152/0.497, allocations: 116.5 kB / 389.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.4984, allocations: 391.4 kB / 389.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.014e-06/0.4985, allocations: 3.938 kB / 389.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4996, allocations: 311 kB / 390 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.5, allocations: 30.48 kB / 390.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.501, allocations: 394.4 kB / 390.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.5018, allocations: 0.7517 MB / 391.2 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.5019, allocations: 17.66 kB / 391.2 MB, free: 30.79 MB / 330.7 MB Notification: Performance of SimCode: time 2.094e-06/0.5019, allocations: 0 / 391.2 MB, free: 30.79 MB / 330.7 MB Notification: Performance of Templates: time 0.006613/0.5085, allocations: 4.03 MB / 395.2 MB, free: 30.57 MB / 330.7 MB "" Variables in the reference:time,CL.v Variables in the result:CL.C,der(CL.v),CL.i,CL.n.i,CL.n.v,CL.p.i,CL.p.v,CL.v,RL.LossPower,RL.R,RL.R_actual,RL.T,RL.T_heatPort,RL.T_ref,RL.alpha,RL.i,RL.n.i,RL.n.v,RL.p.i,RL.p.v,RL.v,Rv.LossPower,Rv.R,Rv.R_actual,Rv.T,Rv.T_heatPort,Rv.T_ref,Rv.alpha,Rv.i,Rv.n.i,Rv.n.v,Rv.p.i,Rv.p.v,Rv.v,ground.p.i,ground.p.v,sineVoltage.V,sineVoltage.freqHz,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.offset,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.signalSource.y,sineVoltage.startTime,sineVoltage.v,time,zDiode.Bv,zDiode.Ibv,zDiode.Ids,zDiode.LossPower,zDiode.Maxexp,zDiode.Nbv,zDiode.R,zDiode.T,zDiode.T_heatPort,zDiode.Vt,zDiode.i,zDiode.maxexp,zDiode.n.i,zDiode.n.v,zDiode.p.i,zDiode.p.v,zDiode.v,zDiode1.Bv,zDiode1.Ibv,zDiode1.Ids,zDiode1.LossPower,zDiode1.Maxexp,zDiode1.Nbv,zDiode1.R,zDiode1.T,zDiode1.T_heatPort,zDiode1.Vt,zDiode1.i,zDiode1.maxexp,zDiode1.n.i,zDiode1.n.v,zDiode1.p.i,zDiode1.p.v,zDiode1.v