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.751/1.751, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.054e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07572/0.07577, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.4292, allocations: 97.85 MB / 397.7 MB, free: 18.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.4294, allocations: 75.88 kB / 397.8 MB, free: 18.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5919/1.021, allocations: 123.9 MB / 0.5095 GB, free: 68.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/1.021, allocations: 2.625 kB / 0.5095 GB, free: 68.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.307e-05/1.021, allocations: 42.69 kB / 0.5095 GB, free: 68.97 MB / 394.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.005231/1.027, allocations: 2.635 MB / 0.5121 GB, free: 67.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.027, allocations: 9.312 kB / 0.5121 GB, free: 67.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005941/1.027, allocations: 382.1 kB / 0.5125 GB, free: 67.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/1.032, allocations: 2.257 MB / 0.5147 GB, free: 67.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/1.032, allocations: 36.77 kB / 0.5147 GB, free: 67.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/1.032, allocations: 52.75 kB / 0.5148 GB, free: 67.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/1.034, allocations: 0.7843 MB / 0.5155 GB, free: 66.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.034, allocations: 3.688 kB / 0.5156 GB, free: 66.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/1.034, allocations: 26.88 kB / 0.5156 GB, free: 66.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/1.034, allocations: 18.73 kB / 0.5156 GB, free: 66.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/1.036, allocations: 0.7007 MB / 0.5163 GB, free: 66.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006935/1.043, allocations: 3.045 MB / 0.5193 GB, free: 66.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.044, allocations: 0.6525 MB / 0.5199 GB, free: 66.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/1.046, allocations: 0.8829 MB / 0.5208 GB, free: 66.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03632/1.082, allocations: 35.98 MB / 0.5559 GB, free: 40.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009849/1.083, allocations: 0.509 MB / 0.5564 GB, free: 39.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.259e-06/1.083, allocations: 0 / 0.5564 GB, free: 39.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.007925/1.091, allocations: 3.482 MB / 0.5598 GB, free: 38.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/1.091, allocations: 276.3 kB / 0.56 GB, free: 38.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/1.095, allocations: 2.223 MB / 0.5622 GB, free: 38.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/1.095, allocations: 44.11 kB / 0.5623 GB, free: 38.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.096, allocations: 1.3 MB / 0.5635 GB, free: 38.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/1.096, allocations: 337.9 kB / 0.5639 GB, free: 37.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/1.096, allocations: 19.31 kB / 0.5639 GB, free: 37.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/1.097, allocations: 352.8 kB / 0.5642 GB, free: 37.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/1.097, allocations: 322.9 kB / 0.5645 GB, free: 37.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009007/1.098, allocations: 0.5464 MB / 0.5651 GB, free: 37.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/1.099, allocations: 382.1 kB / 0.5654 GB, free: 37.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.099, allocations: 0 / 0.5654 GB, free: 37.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003421/1.103, allocations: 1.677 MB / 0.5671 GB, free: 36.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.103, allocations: 9.188 kB / 0.5671 GB, free: 36.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.103, allocations: 113.4 kB / 0.5672 GB, free: 36.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/1.104, allocations: 264.6 kB / 0.5674 GB, free: 36.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.105, allocations: 231.2 kB / 0.5676 GB, free: 36.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00833/1.113, allocations: 13.22 MB / 0.5806 GB, free: 24.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/1.115, allocations: 124.6 kB / 0.5807 GB, free: 24.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/1.116, allocations: 59.61 kB / 0.5807 GB, free: 24.12 MB / 394.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.0003227/1.116, allocations: 176.8 kB / 0.5809 GB, free: 24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/1.117, allocations: 377.6 kB / 0.5813 GB, free: 23.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005529/1.122, allocations: 1.964 MB / 0.5832 GB, free: 23.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/1.122, allocations: 10.41 kB / 0.5832 GB, free: 23.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.122, allocations: 3.469 kB / 0.5832 GB, free: 23.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.122, allocations: 7.703 kB / 0.5832 GB, free: 23.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/1.125, allocations: 1.535 MB / 0.5847 GB, free: 23.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001795/1.125, allocations: 117.3 kB / 0.5848 GB, free: 23.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/1.126, allocations: 168.7 kB / 0.585 GB, free: 23.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008877/1.127, allocations: 263 kB / 0.5852 GB, free: 23.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/1.127, allocations: 44.42 kB / 0.5853 GB, free: 23.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/1.14, allocations: 13.21 MB / 0.5982 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.912e-06/1.14, allocations: 0 / 0.5982 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/1.144, allocations: 2.111 MB / 0.6002 GB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.146, allocations: 0.4958 MB / 0.6007 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007375/1.147, allocations: 21.03 kB / 0.6007 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.148, allocations: 113.2 kB / 0.6008 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/1.149, allocations: 147.4 kB / 0.601 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.149, allocations: 50.28 kB / 0.601 GB, free: 25.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003236/1.152, allocations: 1.717 MB / 0.6027 GB, free: 25.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.66e-07/1.152, allocations: 0 / 0.6027 GB, free: 25.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002637/1.155, allocations: 0.7079 MB / 0.6034 GB, free: 25.43 MB / 410.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.001629/1.157, allocations: 0.9115 MB / 0.6043 GB, free: 25.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003267/1.16, allocations: 2.136 MB / 0.6064 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.702e-06/1.16, allocations: 0 / 0.6064 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/1.162, allocations: 1.743 MB / 0.6081 GB, free: 22.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/1.165, allocations: 480.5 kB / 0.6085 GB, free: 22.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/1.171, allocations: 3.538 MB / 0.612 GB, free: 20.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/1.172, allocations: 1.722 MB / 0.6137 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001608/1.174, allocations: 343.5 kB / 0.614 GB, free: 19.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/1.174, allocations: 144.3 kB / 0.6141 GB, free: 19.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.654e-06/1.174, allocations: 0 / 0.6141 GB, free: 19.84 MB / 410.7 MB Notification: Performance of Templates: time 0.08053/1.255, allocations: 36.44 MB / 0.6497 GB, free: 13.98 MB / 426.7 MB