Running command: translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadModel(Modelica): time 1.679/1.679, allocations: 171.2 MB / 185.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.625e-05, allocations: 0 / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08251/0.08257, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01563/0.09825, allocations: 10.52 MB / 277.4 MB, free: 5.918 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.02874/0.127, allocations: 15.89 MB / 293.3 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.1292, allocations: 31.88 kB / 293.4 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.132, allocations: 0.7224 MB / 294.1 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007782/0.1398, allocations: 1.771 MB / 295.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.1441, allocations: 0.9811 MB / 296.8 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2683/0.4125, allocations: 5.523 MB / 302.3 MB, free: 7.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/0.4133, allocations: 123.7 kB / 302.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.4158, allocations: 0.6877 MB / 303.2 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/0.419, allocations: 0.8485 MB / 304 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008287/0.4274, allocations: 1.209 MB / 305.2 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008944/0.4283, allocations: 75.23 kB / 305.3 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.4288, allocations: 268.4 kB / 305.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.4304, allocations: 252.4 kB / 305.8 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.436, allocations: 2.555 MB / 308.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4361, allocations: 0 / 308.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.09e-06/0.4361, allocations: 2.031 kB / 308.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001719/0.4363, allocations: 0 / 308.4 MB, free: 6.719 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00628/0.4426, allocations: 2.513 MB / 310.9 MB, free: 5.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4427, allocations: 9.031 kB / 310.9 MB, free: 5.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.4438, allocations: 378.2 kB / 311.2 MB, free: 5.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00638/0.4502, allocations: 2.233 MB / 313.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.4503, allocations: 34.06 kB / 313.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.4506, allocations: 57.7 kB / 313.6 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.4531, allocations: 0.7816 MB / 314.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.4531, allocations: 0 / 314.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.4532, allocations: 17.59 kB / 314.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.4533, allocations: 18.69 kB / 314.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.4562, allocations: 0.9201 MB / 315.3 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007756/0.464, allocations: 2.995 MB / 318.3 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.4671, allocations: 0.8478 MB / 319.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04769/0.5148, allocations: 30.33 MB / 349.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/0.517, allocations: 0.6327 MB / 350.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 5.541e-06/0.5171, allocations: 0 / 350.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=99): time 0.02393/0.541, allocations: 6.017 MB / 356.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.5411, allocations: 67.14 kB / 356.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.5458, allocations: 2.261 MB / 358.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002718/0.5461, allocations: 46.58 kB / 358.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.5476, allocations: 1.297 MB / 359.8 MB, free: 13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005535/0.5482, allocations: 327 kB / 360.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.5483, allocations: 18.59 kB / 360.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5485, allocations: 351.4 kB / 360.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002409/0.5509, allocations: 0.5285 MB / 361 MB, free: 12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/0.5536, allocations: 0.6971 MB / 361.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.5562, allocations: 0.582 MB / 362.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.5562, allocations: 4 kB / 362.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007605/0.5638, allocations: 2.092 MB / 364.4 MB, free: 8.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.5639, allocations: 14.34 kB / 364.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000363/0.5643, allocations: 120 kB / 364.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.5655, allocations: 266.7 kB / 364.8 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.5673, allocations: 233.8 kB / 365 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.581, allocations: 13.33 MB / 378.3 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/0.5839, allocations: 123.9 kB / 378.4 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/0.5843, allocations: 56 kB / 378.5 MB, free: 9.477 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.v.counter,v.counter,$PRE.vin2.counter,vin2.counter,$PRE.vin1.counter,vin1.counter,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00153/0.5858, allocations: 426.8 kB / 378.9 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009336/0.5868, allocations: 371.6 kB / 379.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00988/0.5967, allocations: 2.363 MB / 381.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.5967, allocations: 12 kB / 381.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.5968, allocations: 4 kB / 381.7 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.5968, allocations: 3.984 kB / 381.7 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.6008, allocations: 1.561 MB / 383.2 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003346/0.6011, allocations: 112 kB / 383.3 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.6027, allocations: 167.2 kB / 383.5 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.6039, allocations: 262.9 kB / 383.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003537/0.6043, allocations: 43.98 kB / 383.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/0.6178, allocations: 13.31 MB / 397.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6179, allocations: 0 / 397.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.6288, allocations: 2.748 MB / 399.8 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/0.6308, allocations: 488.4 kB / 400.3 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/0.632, allocations: 27.89 kB / 400.4 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/0.6347, allocations: 119.9 kB / 400.5 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006979/0.6355, allocations: 136.8 kB / 400.6 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/0.6357, allocations: 55.97 kB / 400.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.005141/0.6408, allocations: 1.747 MB / 402.4 MB, free: 92 kB / 330.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6409, allocations: 0 / 402.4 MB, free: 92 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.003259/0.6442, allocations: 0.6483 MB / 403.1 MB, free: 15.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001974/0.6462, allocations: 0.7827 MB / 403.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007449/0.6537, allocations: 2.637 MB / 406.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6537, allocations: 0 / 406.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004788/0.6585, allocations: 2.026 MB / 408.5 MB, free: 9.879 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/0.6619, allocations: 477.3 kB / 409 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.6747, allocations: 5.299 MB / 414.3 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/0.6767, allocations: 1.723 MB / 416 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002355/0.6791, allocations: 357.3 kB / 416.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.6797, allocations: 147.4 kB / 416.5 MB, free: 1.828 MB / 346.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6797, allocations: 4 kB / 416.5 MB, free: 1.824 MB / 346.7 MB Notification: Performance of Templates: time 0.3613/1.041, allocations: 34.31 MB / 450.8 MB, free: 124.2 MB / 362.7 MB