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.734/1.734, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.27e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2715, allocations: 38.76 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.4097, allocations: 94.05 MB / 357.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.41, allocations: 75.95 kB / 357.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.529/0.939, allocations: 126 MB / 483.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.939, allocations: 0 / 483.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.156e-05/0.9391, allocations: 44 kB / 483.9 MB, free: 4.805 MB / 330.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.006251/0.9454, allocations: 2.639 MB / 486.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.9454, allocations: 12.03 kB / 486.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/0.9462, allocations: 383.4 kB / 486.9 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.9516, allocations: 2.253 MB / 489.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.9517, allocations: 36.94 kB / 489.2 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.9519, allocations: 51.91 kB / 489.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.9537, allocations: 0.7891 MB / 490.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.9537, allocations: 0 / 490.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.9538, allocations: 23.94 kB / 490.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.9539, allocations: 19.98 kB / 490.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.9555, allocations: 0.7014 MB / 490.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007435/0.9629, allocations: 3.042 MB / 493.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.9645, allocations: 0.6494 MB / 494.5 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.9662, allocations: 0.8797 MB / 495.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2445/1.211, allocations: 35.97 MB / 0.5189 GB, free: 39.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/1.212, allocations: 0.5148 MB / 0.5194 GB, free: 39.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 5.281e-06/1.212, allocations: 0 / 0.5194 GB, free: 39.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.008236/1.22, allocations: 3.477 MB / 0.5228 GB, free: 38.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.22, allocations: 279.1 kB / 0.5231 GB, free: 38.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004238/1.225, allocations: 2.224 MB / 0.5252 GB, free: 37.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002124/1.225, allocations: 44.2 kB / 0.5253 GB, free: 37.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.226, allocations: 1.304 MB / 0.5266 GB, free: 37.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/1.227, allocations: 332.4 kB / 0.5269 GB, free: 37.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/1.227, allocations: 24.44 kB / 0.5269 GB, free: 37.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/1.227, allocations: 345.5 kB / 0.5272 GB, free: 37.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/1.228, allocations: 325.8 kB / 0.5275 GB, free: 37.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/1.228, allocations: 0.5472 MB / 0.5281 GB, free: 36.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008807/1.229, allocations: 382.3 kB / 0.5284 GB, free: 36.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.994e-06/1.229, allocations: 3.844 kB / 0.5284 GB, free: 36.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003677/1.233, allocations: 1.674 MB / 0.5301 GB, free: 36.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/1.233, allocations: 14.19 kB / 0.5301 GB, free: 36.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/1.233, allocations: 115.4 kB / 0.5302 GB, free: 36.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008922/1.234, allocations: 266.8 kB / 0.5305 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.235, allocations: 226.3 kB / 0.5307 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008323/1.244, allocations: 13.22 MB / 0.5436 GB, free: 23.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/1.246, allocations: 129.1 kB / 0.5437 GB, free: 23.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/1.246, allocations: 56.81 kB / 0.5438 GB, free: 23.83 MB / 346.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.0003212/1.247, allocations: 172.8 kB / 0.5439 GB, free: 23.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/1.247, allocations: 375.8 kB / 0.5443 GB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/1.253, allocations: 1.966 MB / 0.5462 GB, free: 23.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.253, allocations: 9.656 kB / 0.5462 GB, free: 23.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.253, allocations: 3.688 kB / 0.5462 GB, free: 23.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.253, allocations: 15.02 kB / 0.5462 GB, free: 23.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/1.256, allocations: 1.544 MB / 0.5477 GB, free: 22.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001883/1.256, allocations: 116.4 kB / 0.5478 GB, free: 22.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/1.257, allocations: 168.9 kB / 0.548 GB, free: 22.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008764/1.258, allocations: 259.4 kB / 0.5483 GB, free: 22.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/1.258, allocations: 44.33 kB / 0.5483 GB, free: 22.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008523/1.267, allocations: 13.21 MB / 0.5612 GB, free: 26.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.267, allocations: 0 / 0.5612 GB, free: 26.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/1.271, allocations: 2.113 MB / 0.5633 GB, free: 25.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.273, allocations: 0.4929 MB / 0.5637 GB, free: 25.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005367/1.273, allocations: 20.72 kB / 0.5638 GB, free: 25.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.275, allocations: 117.5 kB / 0.5639 GB, free: 25.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/1.275, allocations: 148.2 kB / 0.564 GB, free: 25.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.275, allocations: 52.52 kB / 0.5641 GB, free: 25.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003332/1.279, allocations: 1.718 MB / 0.5657 GB, free: 25.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.045e-06/1.279, allocations: 0 / 0.5657 GB, free: 25.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002642/1.281, allocations: 0.7157 MB / 0.5664 GB, free: 25.23 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.001673/1.283, allocations: 0.8987 MB / 0.5673 GB, free: 25.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003427/1.286, allocations: 2.148 MB / 0.5694 GB, free: 23.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.403e-06/1.286, allocations: 0 / 0.5694 GB, free: 23.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/1.289, allocations: 1.735 MB / 0.5711 GB, free: 22.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.291, allocations: 473.8 kB / 0.5716 GB, free: 22.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007432/1.299, allocations: 3.541 MB / 0.575 GB, free: 21.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/1.3, allocations: 1.72 MB / 0.5767 GB, free: 21.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001868/1.302, allocations: 342.6 kB / 0.577 GB, free: 20.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/1.302, allocations: 148.7 kB / 0.5772 GB, free: 20.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.87e-06/1.302, allocations: 0 / 0.5772 GB, free: 20.98 MB / 362.7 MB Notification: Performance of Templates: time 0.08708/1.39, allocations: 36.46 MB / 0.6128 GB, free: 14.03 MB / 378.7 MB