Running command: translateModel(Modelica.Electrical.Machines.Examples.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.007/1.007, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.376e-05, allocations: 4 kB / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.151, allocations: 25.15 MB / 176.5 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.3019, allocations: 49.69 MB / 226.2 MB, free: 15.73 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.3024, allocations: 63.97 kB / 226.3 MB, free: 15.67 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3368/0.6392, allocations: 56.18 MB / 282.5 MB, free: 49.69 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6393, allocations: 0 / 282.5 MB, free: 49.69 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.6394, allocations: 54.09 kB / 282.5 MB, free: 49.68 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.003926/0.6434, allocations: 2.056 MB / 284.6 MB, free: 48.65 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6434, allocations: 9.875 kB / 284.6 MB, free: 48.65 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.6439, allocations: 237.1 kB / 284.8 MB, free: 48.54 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.6463, allocations: 1.264 MB / 286.1 MB, free: 47.81 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.6464, allocations: 143.5 kB / 286.2 MB, free: 47.75 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.6468, allocations: 198.6 kB / 286.4 MB, free: 47.68 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004417/0.6512, allocations: 2.492 MB / 288.9 MB, free: 45.94 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.265e-05/0.6513, allocations: 4 kB / 288.9 MB, free: 45.94 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.6515, allocations: 80 kB / 289 MB, free: 45.86 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-05/0.6516, allocations: 87.89 kB / 289.1 MB, free: 45.77 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/0.6556, allocations: 2.023 MB / 291.1 MB, free: 43.75 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.669, allocations: 7.523 MB / 298.6 MB, free: 36.14 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.6715, allocations: 1.951 MB / 300.6 MB, free: 34.03 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.6728, allocations: 0.7805 MB / 301.4 MB, free: 33.25 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.6729, allocations: 16.98 kB / 301.4 MB, free: 33.23 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.6729, allocations: 43.56 kB / 301.4 MB, free: 33.18 MB / 218.7 MB Notification: Performance of pre-optimization done (n=105): time 4.335e-06/0.673, allocations: 0 / 301.4 MB, free: 33.18 MB / 218.7 MB Notification: Performance of matching and sorting (n=129): time 0.01704/0.69, allocations: 6.368 MB / 307.8 MB, free: 26.77 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6901, allocations: 64.72 kB / 307.9 MB, free: 26.7 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7706:7-7708:33:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2348:9-2350:50:writable] Warning: Parameter smee.sigmae has no value, and is fixed during initialization (fixed=true), using available start value (start=0.025) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2345:9-2347:50:writable] Warning: Parameter smee.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=2.5) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2342:9-2344:50:writable] Warning: Parameter smee.IeOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=10.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2339:9-2341:50:writable] Warning: Parameter smee.VsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2333:9-2335:75:writable] Warning: Parameter smee.Rrd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2327:9-2329:75:writable] Warning: Parameter smee.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smee.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2324:9-2326:51:writable] Warning: Parameter smee.useDamperCage has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2321:9-2323:75:writable] Warning: Parameter smee.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=1.5 / (6.283185307179586 * smee.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2318:9-2320:75:writable] Warning: Parameter smee.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=1.5 / (6.283185307179586 * smee.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7411:7-7413:73:writable] Warning: Parameter smee.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smee.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7408:7-7410:73:writable] Warning: Parameter smee.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7406:7-7407:28:writable] Warning: Parameter smee.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7405:7-7405:75:writable] Warning: Parameter smee.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter smee.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=smee.Jr) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter smee.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.6919, allocations: 0.9987 MB / 308.9 MB, free: 25.68 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.692, allocations: 45.7 kB / 308.9 MB, free: 25.63 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.6925, allocations: 0.8279 MB / 309.7 MB, free: 24.79 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.6928, allocations: 434.4 kB / 310.1 MB, free: 24.37 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.693, allocations: 28 kB / 310.2 MB, free: 24.34 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6931, allocations: 358.8 kB / 310.5 MB, free: 23.98 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.6944, allocations: 0.7249 MB / 311.3 MB, free: 23.26 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.6958, allocations: 0.9407 MB / 312.2 MB, free: 22.23 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.6974, allocations: 0.8806 MB / 313.1 MB, free: 21.36 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-06/0.6974, allocations: 4 kB / 313.1 MB, free: 21.35 MB / 218.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004769/0.7022, allocations: 2.39 MB / 315.5 MB, free: 18.95 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.7022, allocations: 8 kB / 315.5 MB, free: 18.94 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.7022, allocations: 11.98 kB / 315.5 MB, free: 18.93 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.7042, allocations: 0.6185 MB / 316.1 MB, free: 18.3 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.7056, allocations: 287.5 kB / 316.4 MB, free: 18.02 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.7158, allocations: 7.392 MB / 323.8 MB, free: 10.37 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7172, allocations: 115.7 kB / 323.9 MB, free: 10.26 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.7174, allocations: 47.19 kB / 323.9 MB, free: 10.22 MB / 218.7 MB Warning: Assuming fixed start value for the following 4 variables: smee.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,80.6%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.7178, allocations: 188.6 kB / 324.1 MB, free: 10.03 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.7181, allocations: 126.4 kB / 324.2 MB, free: 9.906 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/0.7228, allocations: 2.37 MB / 326.6 MB, free: 7.527 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.7228, allocations: 19.95 kB / 326.6 MB, free: 7.508 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.99e-06/0.7228, allocations: 8 kB / 326.6 MB, free: 7.5 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.7229, allocations: 7.969 kB / 326.6 MB, free: 7.492 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009736/0.7326, allocations: 4.789 MB / 331.4 MB, free: 2.641 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/0.7327, allocations: 4 kB / 331.4 MB, free: 2.637 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7338, allocations: 212 kB / 331.6 MB, free: 2.43 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/0.7359, allocations: 0.6183 MB / 332.3 MB, free: 1.805 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.7361, allocations: 35.98 kB / 332.3 MB, free: 1.77 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.7482, allocations: 7.213 MB / 339.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.112e-06/0.7482, allocations: 0 / 339.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00791/0.7561, allocations: 3.559 MB / 343.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.7573, allocations: 375.4 kB / 343.4 MB, free: 6.262 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.7576, allocations: 43.67 kB / 343.5 MB, free: 6.223 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.7588, allocations: 103.9 kB / 343.6 MB, free: 6.121 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.7591, allocations: 104.8 kB / 343.7 MB, free: 6.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.7593, allocations: 39.98 kB / 343.7 MB, free: 5.98 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001538/0.7608, allocations: 0.7494 MB / 344.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of sort global known variables: time 9.89e-07/0.7608, allocations: 0 / 344.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003843/0.7647, allocations: 443.9 kB / 344.9 MB, free: 4.785 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,80.6%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007334/0.7655, allocations: 155 kB / 345.1 MB, free: 4.625 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.009974/0.7755, allocations: 2.283 MB / 347.3 MB, free: 2.297 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/0.7755, allocations: 0 / 347.3 MB, free: 2.297 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00648/0.782, allocations: 1.47 MB / 348.8 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/0.7854, allocations: 252.7 kB / 349.1 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2249/1.01, allocations: 3.431 MB / 352.5 MB, free: 59 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/1.012, allocations: 1.793 MB / 354.3 MB, free: 58.27 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/1.013, allocations: 89.62 kB / 354.4 MB, free: 58.27 MB / 234.7 MB Notification: Performance of SimCode: time 1.681e-06/1.013, allocations: 0 / 354.4 MB, free: 58.27 MB / 234.7 MB Notification: Performance of Templates: time 0.04832/1.061, allocations: 39.78 MB / 394.2 MB, free: 38.4 MB / 234.7 MB