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.857/1.857, allocations: 194.9 MB / 208.5 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.338e-05, allocations: 7.219 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07615/0.07621, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.324/0.4002, allocations: 73.12 MB / 373 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4005, allocations: 67.34 kB / 373 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01893/0.4194, allocations: 4.642 MB / 377.7 MB, free: 21.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.01e-06/0.4195, allocations: 0 / 377.7 MB, free: 21.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.4195, allocations: 9.625 kB / 377.7 MB, free: 21.79 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.0009848/0.4205, allocations: 0.5292 MB / 378.2 MB, free: 21.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4206, allocations: 8.875 kB / 378.2 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.4207, allocations: 34.8 kB / 378.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.421, allocations: 255.6 kB / 378.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.421, allocations: 12.31 kB / 378.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.4211, allocations: 20.12 kB / 378.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.4216, allocations: 264.5 kB / 378.8 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4217, allocations: 0 / 378.8 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.4217, allocations: 9.688 kB / 378.8 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.281e-06/0.4218, allocations: 8.938 kB / 378.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.4223, allocations: 175.4 kB / 379 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.4243, allocations: 1.262 MB / 380.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.426, allocations: 337.3 kB / 380.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.4262, allocations: 100.1 kB / 380.7 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.4263, allocations: 2.938 kB / 380.7 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.4263, allocations: 40.84 kB / 380.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.664e-06/0.4263, allocations: 0 / 380.7 MB, free: 20.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.002918/0.4292, allocations: 0.5191 MB / 381.2 MB, free: 20.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.4293, allocations: 57.12 kB / 381.3 MB, free: 20.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.4295, allocations: 200.5 kB / 381.5 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.4296, allocations: 27.08 kB / 381.5 MB, free: 19.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.4297, allocations: 222.5 kB / 381.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.4297, allocations: 50.91 kB / 381.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.4298, allocations: 9.375 kB / 381.8 MB, free: 19.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.212e-05/0.4298, allocations: 317.9 kB / 382.1 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.43, allocations: 65.09 kB / 382.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.4302, allocations: 94.61 kB / 382.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.4305, allocations: 69.52 kB / 382.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-06/0.4305, allocations: 4 kB / 382.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002889/0.4334, allocations: 0.5432 MB / 382.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4334, allocations: 7.625 kB / 382.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.966e-06/0.4334, allocations: 0 / 382.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/0.4339, allocations: 139.2 kB / 383 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.4341, allocations: 40.73 kB / 383.1 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/0.4397, allocations: 2.189 MB / 385.3 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.4401, allocations: 52.33 kB / 385.3 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.4401, allocations: 6.719 kB / 385.3 MB, free: 17.88 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 9.787e-05/0.4402, allocations: 115 kB / 385.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.4403, allocations: 18.59 kB / 385.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.667e-05/0.4404, allocations: 23.55 kB / 385.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.523e-06/0.4404, allocations: 4.594 kB / 385.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-06/0.4404, allocations: 0 / 385.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4404, allocations: 0 / 385.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.4409, allocations: 333.5 kB / 385.8 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-06/0.4409, allocations: 4 kB / 385.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.4412, allocations: 29.7 kB / 385.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/0.4415, allocations: 133.9 kB / 386 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4416, allocations: 7.328 kB / 386 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/0.447, allocations: 2.179 MB / 388.1 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.49e-06/0.447, allocations: 1.375 kB / 388.1 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.4502, allocations: 0.7148 MB / 388.9 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.4503, allocations: 98.78 kB / 389 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.4504, allocations: 3.047 kB / 389 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.4508, allocations: 45.55 kB / 389 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.4508, allocations: 10.77 kB / 389 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.4509, allocations: 12.89 kB / 389 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.4511, allocations: 156.3 kB / 389.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.4511, allocations: 0 / 389.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006332/0.4517, allocations: 87.34 kB / 389.3 MB, free: 15.79 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.0001515/0.4519, allocations: 111.6 kB / 389.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.4532, allocations: 379.8 kB / 389.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4533, allocations: 0 / 389.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.4543, allocations: 304.8 kB / 390 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4547, allocations: 30.69 kB / 390.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4561, allocations: 393.1 kB / 390.5 MB, free: 31.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.4565, allocations: 0.7509 MB / 391.2 MB, free: 30.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.4566, allocations: 19.19 kB / 391.2 MB, free: 30.55 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-06/0.4566, allocations: 0 / 391.2 MB, free: 30.55 MB / 330.7 MB Notification: Performance of Templates: time 0.006754/0.4634, allocations: 4.02 MB / 395.2 MB, free: 30.34 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