Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SMEE_Generator,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.029/1.029, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.662e-05/2.656e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 25.16 MB / 176.6 MB, free: 15.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0875/0.2549, allocations: 49.69 MB / 226.3 MB, free: 15.64 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.2552, allocations: 67.95 kB / 226.4 MB, free: 15.57 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4032/0.6585, allocations: 56.18 MB / 282.6 MB, free: 49.71 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6585, allocations: 2.812 kB / 282.6 MB, free: 49.71 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001641/0.6587, allocations: 50.94 kB / 282.6 MB, free: 49.7 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.007156/0.6658, allocations: 2.056 MB / 284.7 MB, free: 48.68 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6659, allocations: 14.97 kB / 284.7 MB, free: 48.68 MB / 218.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000888/0.6668, allocations: 287.6 kB / 285 MB, free: 48.5 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000683/0.6675, allocations: 238.2 kB / 285.2 MB, free: 48.38 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/0.6712, allocations: 1.265 MB / 286.5 MB, free: 47.55 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.6714, allocations: 142 kB / 286.6 MB, free: 47.49 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005943/0.672, allocations: 195.8 kB / 286.8 MB, free: 47.42 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006224/0.6782, allocations: 2.495 MB / 289.3 MB, free: 45.51 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.294e-05/0.6783, allocations: 4 kB / 289.3 MB, free: 45.51 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003114/0.6786, allocations: 84 kB / 289.4 MB, free: 45.43 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.6788, allocations: 83.91 kB / 289.5 MB, free: 45.34 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005555/0.6843, allocations: 2.019 MB / 291.5 MB, free: 43.32 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0191/0.7035, allocations: 7.53 MB / 299 MB, free: 35.71 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/0.7065, allocations: 1.942 MB / 301 MB, free: 33.6 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.7082, allocations: 0.7803 MB / 301.7 MB, free: 32.82 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.7083, allocations: 16.75 kB / 301.8 MB, free: 32.81 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.7083, allocations: 47.5 kB / 301.8 MB, free: 32.75 MB / 218.7 MB Notification: Performance of pre-optimization done (n=105): time 3.957e-06/0.7084, allocations: 0 / 301.8 MB, free: 32.75 MB / 218.7 MB Notification: Performance of matching and sorting (n=129): time 0.02364/0.732, allocations: 6.36 MB / 308.2 MB, free: 26.35 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.7321, allocations: 64.72 kB / 308.2 MB, free: 26.27 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.002028/0.7341, allocations: 1.003 MB / 309.2 MB, free: 25.25 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002784/0.7344, allocations: 45.7 kB / 309.3 MB, free: 25.2 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.7349, allocations: 0.8246 MB / 310.1 MB, free: 24.37 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.7353, allocations: 437.4 kB / 310.5 MB, free: 23.95 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.7355, allocations: 24 kB / 310.6 MB, free: 23.93 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7356, allocations: 362.8 kB / 310.9 MB, free: 23.56 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.7372, allocations: 0.7288 MB / 311.6 MB, free: 22.84 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.7388, allocations: 0.9369 MB / 312.6 MB, free: 21.81 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.7406, allocations: 0.8806 MB / 313.5 MB, free: 20.93 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.7406, allocations: 4 kB / 313.5 MB, free: 20.93 MB / 218.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005775/0.7464, allocations: 2.387 MB / 315.8 MB, free: 18.53 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.7465, allocations: 8 kB / 315.9 MB, free: 18.52 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.7465, allocations: 4 kB / 315.9 MB, free: 18.52 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.7491, allocations: 0.6262 MB / 316.5 MB, free: 17.88 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.7513, allocations: 291.5 kB / 316.8 MB, free: 17.6 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.7639, allocations: 7.396 MB / 324.2 MB, free: 9.945 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.7658, allocations: 111.9 kB / 324.3 MB, free: 9.836 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.766, allocations: 47.98 kB / 324.3 MB, free: 9.789 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.0004092/0.7664, allocations: 174.3 kB / 324.5 MB, free: 9.613 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.7668, allocations: 130.4 kB / 324.6 MB, free: 9.484 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/0.7726, allocations: 2.371 MB / 327 MB, free: 7.102 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.7727, allocations: 15.95 kB / 327 MB, free: 7.086 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.7727, allocations: 8 kB / 327 MB, free: 7.078 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.7727, allocations: 7.922 kB / 327 MB, free: 7.074 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.7845, allocations: 4.795 MB / 331.8 MB, free: 2.219 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/0.7845, allocations: 4.281 kB / 331.8 MB, free: 2.215 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.7863, allocations: 215.7 kB / 332 MB, free: 2.004 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.789, allocations: 0.6221 MB / 332.7 MB, free: 1.375 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/0.7892, allocations: 35.98 kB / 332.7 MB, free: 1.34 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.8034, allocations: 7.208 MB / 339.9 MB, free: 9.871 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.8034, allocations: 7.938 kB / 339.9 MB, free: 9.863 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008923/0.8123, allocations: 3.553 MB / 343.5 MB, free: 6.223 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.8136, allocations: 379.4 kB / 343.8 MB, free: 5.832 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.8139, allocations: 35.98 kB / 343.9 MB, free: 5.797 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.8155, allocations: 103.9 kB / 344 MB, free: 5.695 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/0.8159, allocations: 100.8 kB / 344.1 MB, free: 5.598 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.8161, allocations: 39.98 kB / 344.1 MB, free: 5.559 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001661/0.8177, allocations: 0.7532 MB / 344.9 MB, free: 4.793 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8178, allocations: 3.938 kB / 344.9 MB, free: 4.789 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002236/0.82, allocations: 440 kB / 345.3 MB, free: 4.359 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.1748/0.9948, allocations: 4.75 MB / 350 MB, free: 58.76 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006192/1.001, allocations: 2.282 MB / 352.3 MB, free: 58.47 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.001, allocations: 8.531 kB / 352.3 MB, free: 58.47 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003944/1.005, allocations: 1.462 MB / 353.8 MB, free: 58.16 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/1.008, allocations: 251.8 kB / 354 MB, free: 58.16 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.018, allocations: 3.966 MB / 358 MB, free: 57.37 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/1.02, allocations: 1.791 MB / 359.8 MB, free: 56.64 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.021, allocations: 0.705 MB / 360.5 MB, free: 56.64 MB / 234.7 MB Notification: Performance of SimCode: time 1.422e-06/1.021, allocations: 0 / 360.5 MB, free: 56.64 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.192/4.214, allocations: 49.85 MB / 410.3 MB, free: 23.73 MB / 234.7 MB