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.2_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.628e-05, allocations: 4 kB / 258.8 MB, free: 8.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2954, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01531/0.3108, allocations: 10.53 MB / 313.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02717/0.338, allocations: 15.88 MB / 329.7 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.3402, allocations: 35.81 kB / 329.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.343, allocations: 0.7185 MB / 330.5 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007452/0.3505, allocations: 1.775 MB / 332.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004034/0.3546, allocations: 0.985 MB / 333.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01459/0.3692, allocations: 5.514 MB / 338.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.3698, allocations: 126.1 kB / 338.9 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.3712, allocations: 0.6815 MB / 339.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.3727, allocations: 0.8594 MB / 340.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/0.3779, allocations: 1.21 MB / 341.6 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006103/0.3786, allocations: 76 kB / 341.7 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003957/0.379, allocations: 258 kB / 342 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009646/0.3799, allocations: 252 kB / 342.2 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004442/0.3844, allocations: 2.557 MB / 344.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3845, allocations: 0 / 344.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3845, allocations: 0 / 344.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.676e-05/0.3846, allocations: 0 / 344.8 MB, free: 4.047 MB / 282.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.005768/0.3903, allocations: 2.517 MB / 347.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3904, allocations: 8.031 kB / 347.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007141/0.3911, allocations: 383.4 kB / 347.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/0.3968, allocations: 2.22 MB / 349.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/0.3969, allocations: 41 kB / 349.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.3971, allocations: 51.91 kB / 350 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.3996, allocations: 0.7811 MB / 350.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3997, allocations: 0 / 350.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.3998, allocations: 20 kB / 350.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.3999, allocations: 27.92 kB / 350.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003181/0.403, allocations: 0.9139 MB / 351.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007686/0.4108, allocations: 3.002 MB / 354.7 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.4139, allocations: 0.8535 MB / 355.6 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04613/0.46, allocations: 30.31 MB / 385.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/0.4621, allocations: 0.6308 MB / 386.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 3.877e-06/0.4621, allocations: 0 / 386.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.02214/0.4842, allocations: 6.021 MB / 392.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.4844, allocations: 68.34 kB / 392.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/0.4891, allocations: 2.256 MB / 394.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002227/0.4894, allocations: 41.7 kB / 394.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.4911, allocations: 1.299 MB / 396.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/0.4916, allocations: 339.2 kB / 396.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4917, allocations: 24 kB / 396.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4919, allocations: 345.9 kB / 396.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.4943, allocations: 0.5254 MB / 397.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.4968, allocations: 0.7016 MB / 398.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.4993, allocations: 0.573 MB / 398.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.4993, allocations: 4 kB / 398.7 MB, free: 9.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007177/0.5065, allocations: 2.089 MB / 400.8 MB, free: 7.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.5066, allocations: 12.48 kB / 400.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002859/0.5069, allocations: 128 kB / 400.9 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.508, allocations: 268.4 kB / 401.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.5098, allocations: 227.7 kB / 401.4 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.522, allocations: 13.32 MB / 414.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.5244, allocations: 120 kB / 414.8 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/0.5247, allocations: 59.98 kB / 414.9 MB, free: 7.695 MB / 362.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.001191/0.5259, allocations: 425.5 kB / 415.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/0.5266, allocations: 367.6 kB / 415.7 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009212/0.5359, allocations: 2.375 MB / 418 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.5359, allocations: 11.94 kB / 418.1 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.536, allocations: 8 kB / 418.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.536, allocations: 11.92 kB / 418.1 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.5391, allocations: 1.535 MB / 419.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002986/0.5394, allocations: 116 kB / 419.7 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.5409, allocations: 167.8 kB / 419.9 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.542, allocations: 264.3 kB / 420.1 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/0.5422, allocations: 43.97 kB / 420.2 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2575/0.7997, allocations: 13.3 MB / 433.5 MB, free: 99.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7998, allocations: 2.297 kB / 433.5 MB, free: 99.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008832/0.8086, allocations: 2.733 MB / 436.2 MB, free: 99.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.8098, allocations: 0.4887 MB / 436.7 MB, free: 98.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006077/0.8104, allocations: 19.81 kB / 436.7 MB, free: 98.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/0.8122, allocations: 113.2 kB / 436.8 MB, free: 98.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005058/0.8127, allocations: 147.6 kB / 437 MB, free: 98.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.8129, allocations: 50.72 kB / 437 MB, free: 98.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003204/0.8161, allocations: 1.752 MB / 438.8 MB, free: 98.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8162, allocations: 0 / 438.8 MB, free: 98.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002139/0.8183, allocations: 0.6522 MB / 439.4 MB, free: 98.22 MB / 362.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.001549/0.8199, allocations: 0.7844 MB / 440.2 MB, free: 98.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00611/0.826, allocations: 2.643 MB / 442.9 MB, free: 96.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.826, allocations: 0 / 442.9 MB, free: 96.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003673/0.8297, allocations: 2.012 MB / 444.9 MB, free: 94.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.8322, allocations: 486.2 kB / 445.4 MB, free: 94.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009058/0.8413, allocations: 5.305 MB / 450.7 MB, free: 89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.8425, allocations: 1.722 MB / 452.4 MB, free: 87.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002043/0.8445, allocations: 357.3 kB / 452.7 MB, free: 86.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.845, allocations: 155.4 kB / 452.9 MB, free: 86.75 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.845, allocations: 0 / 452.9 MB, free: 86.75 MB / 362.7 MB Notification: Performance of Templates: time 0.08616/0.9311, allocations: 34.31 MB / 487.2 MB, free: 52.43 MB / 362.7 MB