Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.648/1.648, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.94e-05, allocations: 0 / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2568, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.3975, allocations: 93.96 MB / 357.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.3977, allocations: 71.97 kB / 357.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6225/1.02, allocations: 127.4 MB / 485.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.869e-06/1.02, allocations: 0 / 485.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.581e-05/1.02, allocations: 44 kB / 485.2 MB, free: 3.336 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.006387/1.027, allocations: 2.709 MB / 487.9 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.027, allocations: 12.03 kB / 488 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007677/1.028, allocations: 399.1 kB / 488.4 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005758/1.033, allocations: 2.368 MB / 490.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/1.034, allocations: 33 kB / 490.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/1.034, allocations: 55.95 kB / 490.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/1.036, allocations: 0.7813 MB / 491.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/1.036, allocations: 0 / 491.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.036, allocations: 20 kB / 491.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/1.036, allocations: 19.98 kB / 491.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/1.037, allocations: 0.713 MB / 492.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008005/1.045, allocations: 3.193 MB / 495.5 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/1.047, allocations: 487.8 kB / 496 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/1.048, allocations: 0.5927 MB / 496.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2788/1.326, allocations: 36.17 MB / 0.5203 GB, free: 37.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006129/1.327, allocations: 318.3 kB / 0.5206 GB, free: 37.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.329e-06/1.327, allocations: 0 / 0.5206 GB, free: 37.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001626/1.329, allocations: 0.8075 MB / 0.5214 GB, free: 37.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/1.329, allocations: 268.3 kB / 0.5216 GB, free: 37.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/1.334, allocations: 2.516 MB / 0.5241 GB, free: 36.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/1.334, allocations: 36.83 kB / 0.5241 GB, free: 36.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/1.335, allocations: 1.501 MB / 0.5256 GB, free: 36.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/1.336, allocations: 171.7 kB / 0.5257 GB, free: 36.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/1.336, allocations: 19.69 kB / 0.5258 GB, free: 36.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.828e-05/1.336, allocations: 341.8 kB / 0.5261 GB, free: 36.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/1.336, allocations: 194.2 kB / 0.5263 GB, free: 36.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/1.337, allocations: 0.5869 MB / 0.5269 GB, free: 35.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/1.338, allocations: 280.7 kB / 0.5271 GB, free: 35.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.338, allocations: 6.344 kB / 0.5271 GB, free: 35.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002126/1.34, allocations: 1.089 MB / 0.5282 GB, free: 35.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.34, allocations: 11.16 kB / 0.5282 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/1.34, allocations: 84.27 kB / 0.5283 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/1.34, allocations: 17.69 kB / 0.5283 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/1.341, allocations: 215.1 kB / 0.5285 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/1.341, allocations: 29.03 kB / 0.5285 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.343, allocations: 130.3 kB / 0.5287 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.343, allocations: 64.38 kB / 0.5287 GB, free: 35.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.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 (102): * Single equations (assignments): 98 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002207/1.343, allocations: 172.4 kB / 0.5289 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/1.344, allocations: 386.7 kB / 0.5292 GB, free: 35.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/1.347, allocations: 1.138 MB / 0.5304 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.44e-06/1.347, allocations: 3.344 kB / 0.5304 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.834e-06/1.347, allocations: 2.594 kB / 0.5304 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.621e-06/1.347, allocations: 7.266 kB / 0.5304 GB, free: 35.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/1.352, allocations: 2.11 MB / 0.5324 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000117/1.352, allocations: 76.34 kB / 0.5325 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/1.352, allocations: 105.6 kB / 0.5326 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/1.352, allocations: 3.969 kB / 0.5326 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/1.353, allocations: 35.72 kB / 0.5326 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.641e-06/1.353, allocations: 4.875 kB / 0.5326 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-06/1.353, allocations: 0 / 0.5326 GB, free: 34.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/1.355, allocations: 1.214 MB / 0.5338 GB, free: 34.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.356, allocations: 0.5484 MB / 0.5344 GB, free: 33.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007006/1.357, allocations: 18.88 kB / 0.5344 GB, free: 33.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.358, allocations: 44.72 kB / 0.5344 GB, free: 33.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.358, allocations: 60.05 kB / 0.5345 GB, free: 33.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-05/1.358, allocations: 43.45 kB / 0.5345 GB, free: 33.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003856/1.362, allocations: 1.918 MB / 0.5364 GB, free: 33.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.097e-06/1.362, allocations: 0 / 0.5364 GB, free: 33.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002289/1.364, allocations: 0.6508 MB / 0.537 GB, free: 33.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001478/1.366, allocations: 0.8414 MB / 0.5379 GB, free: 33.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/1.367, allocations: 0.6982 MB / 0.5385 GB, free: 33.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.087e-06/1.367, allocations: 0 / 0.5385 GB, free: 33.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006282/1.368, allocations: 398.2 kB / 0.5389 GB, free: 33.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.371, allocations: 0.492 MB / 0.5394 GB, free: 33.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006577/1.377, allocations: 3.15 MB / 0.5425 GB, free: 32.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.378, allocations: 1.729 MB / 0.5442 GB, free: 31.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001847/1.38, allocations: 381.2 kB / 0.5445 GB, free: 31.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/1.381, allocations: 165.7 kB / 0.5447 GB, free: 31.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.645e-06/1.381, allocations: 0 / 0.5447 GB, free: 31.63 MB / 346.7 MB Notification: Performance of Templates: time 0.07647/1.457, allocations: 32.53 MB / 0.5765 GB, free: 17.57 MB / 346.7 MB