Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") Notification: Performance of loadModel(Modelica): time 2.45/2.45, allocations: 224.7 MB / 241.1 MB, free: 1.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.929e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics): time 0.02435/0.1376, allocations: 14.44 MB / 359.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03153/0.1692, allocations: 5.072 MB / 364.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01554/0.1848, allocations: 95.81 kB / 364.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005172/0.19, allocations: 0.9048 MB / 365.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.2044, allocations: 1.141 MB / 366.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.2066, allocations: 427.4 kB / 367.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006389/0.213, allocations: 2.194 MB / 369.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.215, allocations: 0.8156 MB / 370.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.2174, allocations: 0.9814 MB / 371 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.2201, allocations: 1.117 MB / 372.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.2214, allocations: 167.9 kB / 372.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006856/0.2221, allocations: 116 kB / 372.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005324/0.2227, allocations: 437.9 kB / 372.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.2238, allocations: 296 kB / 373.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006179/0.23, allocations: 3.571 MB / 376.7 MB, free: 9.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.23, allocations: 0 / 376.7 MB, free: 9.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.23, allocations: 0 / 376.7 MB, free: 9.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001637/0.2302, allocations: 0 / 376.7 MB, free: 9.086 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.007035/0.2373, allocations: 2.467 MB / 379.2 MB, free: 6.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.2373, allocations: 8.031 kB / 379.2 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/0.2402, allocations: 491.7 kB / 379.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/0.2453, allocations: 1.674 MB / 381.4 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.2456, allocations: 193.2 kB / 381.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006196/0.2462, allocations: 271.8 kB / 381.8 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007102/0.2533, allocations: 2.427 MB / 384.2 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.2535, allocations: 15.89 kB / 384.3 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/0.2538, allocations: 108 kB / 384.4 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/0.2539, allocations: 64 kB / 384.4 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005604/0.2595, allocations: 1.642 MB / 386.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.2832, allocations: 10.63 MB / 396.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.2855, allocations: 1.058 MB / 397.7 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.322e-05/0.2856, allocations: 12.64 kB / 397.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.2857, allocations: 47.2 kB / 397.8 MB, free: 3.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=81): time 4.108e-06/0.2857, allocations: 0 / 397.8 MB, free: 3.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.2941/0.5798, allocations: 2.94 MB / 400.7 MB, free: 47.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.58, allocations: 165.8 kB / 400.9 MB, free: 47.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005657/0.5856, allocations: 1.883 MB / 402.8 MB, free: 47.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.5858, allocations: 41.77 kB / 402.8 MB, free: 47.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.587, allocations: 1.378 MB / 404.2 MB, free: 46.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.5873, allocations: 329.7 kB / 404.5 MB, free: 46.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-05/0.5874, allocations: 40.94 kB / 404.6 MB, free: 46.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5876, allocations: 376 kB / 404.9 MB, free: 45.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.5888, allocations: 368.3 kB / 405.3 MB, free: 45.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.5904, allocations: 1.23 MB / 406.5 MB, free: 44.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.5921, allocations: 0.5693 MB / 407.1 MB, free: 44.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/0.5922, allocations: 8.531 kB / 407.1 MB, free: 44.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004263/0.5964, allocations: 1.689 MB / 408.8 MB, free: 43.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002653/0.5991, allocations: 11.66 MB / 420.5 MB, free: 30.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/0.5993, allocations: 30.59 kB / 420.5 MB, free: 30.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009605/0.6003, allocations: 168.7 kB / 420.6 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.6029, allocations: 410.1 kB / 421 MB, free: 30.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.6073, allocations: 5.385 MB / 426.4 MB, free: 25.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.6099, allocations: 103.7 kB / 426.5 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.6101, allocations: 93.89 kB / 426.6 MB, free: 25.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.6101, allocations: 4.594 kB / 426.6 MB, free: 25.41 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00387/0.614, allocations: 1.572 MB / 428.2 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/0.6141, allocations: 30.16 kB / 428.2 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.6146, allocations: 153.6 kB / 428.4 MB, free: 24.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.6169, allocations: 405.2 kB / 428.8 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.621, allocations: 5.37 MB / 434.1 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.6223, allocations: 80.02 kB / 434.2 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.6225, allocations: 94.75 kB / 434.3 MB, free: 19.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00149/0.624, allocations: 0.5035 MB / 434.8 MB, free: 18.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005345/0.6245, allocations: 230.9 kB / 435 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.627, allocations: 0.9297 MB / 436 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.627, allocations: 7.844 kB / 436 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.627, allocations: 0 / 436 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.6271, allocations: 4.641 kB / 436 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/0.6346, allocations: 3.109 MB / 439.1 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.6347, allocations: 5.5 kB / 439.1 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.6359, allocations: 161.1 kB / 439.3 MB, free: 16.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.6366, allocations: 129.9 kB / 439.4 MB, free: 16.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.6367, allocations: 25.89 kB / 439.4 MB, free: 16.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.6406, allocations: 5.334 MB / 444.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.6406, allocations: 8.219 kB / 444.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.6443, allocations: 1.965 MB / 446.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.6454, allocations: 379.7 kB / 447.1 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004836/0.6459, allocations: 31.78 kB / 447.1 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.6475, allocations: 57.06 kB / 447.2 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.6477, allocations: 80.59 kB / 447.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.68e-05/0.6478, allocations: 35.47 kB / 447.3 MB, free: 9.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002959/0.6508, allocations: 1.403 MB / 448.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6508, allocations: 0 / 448.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004263/0.6551, allocations: 0.9302 MB / 449.6 MB, free: 8.785 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (dcpm.inertiaRotor.w,loadInertia1.phi,dcee.inertiaRotor.w,loadInertia2.phi,dcse.inertiaRotor.w,loadInertia3.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003315/0.6555, allocations: 152.4 kB / 449.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005536/0.661, allocations: 2.698 MB / 452.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.6611, allocations: 4 kB / 452.5 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.6626, allocations: 0.82 MB / 453.3 MB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/0.6666, allocations: 0.5501 MB / 453.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009874/0.6765, allocations: 5.115 MB / 459 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.6784, allocations: 1.622 MB / 460.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007227/0.6791, allocations: 147.4 kB / 460.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6792, allocations: 0 / 460.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of Templates: time 0.129/0.8082, allocations: 73.65 MB / 0.5219 GB, free: 4.484 MB / 410.7 MB