Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SMPM_Inverter,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_SMPM_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.023/1.023, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.976e-05, allocations: 7.984 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1712, allocations: 25.15 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08637/0.2576, allocations: 46.49 MB / 223.1 MB, free: 2.852 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.258, allocations: 67.97 kB / 223.2 MB, free: 2.785 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1456/0.4036, allocations: 29.1 MB / 252.3 MB, free: 5.516 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4036, allocations: 0 / 252.3 MB, free: 5.516 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001621/0.4038, allocations: 55.94 kB / 252.3 MB, free: 5.461 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.006465/0.4103, allocations: 1.769 MB / 254.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.4104, allocations: 12.03 kB / 254.1 MB, free: 3.629 MB / 218.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007911/0.4112, allocations: 248.6 kB / 254.4 MB, free: 3.375 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005601/0.4117, allocations: 185.8 kB / 254.5 MB, free: 3.191 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.4148, allocations: 1.056 MB / 255.6 MB, free: 2.09 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.4149, allocations: 123.2 kB / 255.7 MB, free: 1.969 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004403/0.4154, allocations: 163.9 kB / 255.9 MB, free: 1.809 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1537/0.5692, allocations: 2.145 MB / 258 MB, free: 50.87 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.894e-05/0.5693, allocations: 4.625 kB / 258 MB, free: 50.87 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.5696, allocations: 69.61 kB / 258.1 MB, free: 50.87 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.5698, allocations: 81.69 kB / 258.2 MB, free: 50.87 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005009/0.5748, allocations: 1.749 MB / 259.9 MB, free: 50.86 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.5892, allocations: 6.228 MB / 266.2 MB, free: 49.99 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.5921, allocations: 1.842 MB / 268 MB, free: 49.11 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.5935, allocations: 0.672 MB / 268.7 MB, free: 49.09 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.511e-05/0.5936, allocations: 19.86 kB / 268.7 MB, free: 49.09 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.5936, allocations: 43.28 kB / 268.7 MB, free: 49.05 MB / 218.7 MB Notification: Performance of pre-optimization done (n=92): time 3.486e-06/0.5936, allocations: 0 / 268.7 MB, free: 49.05 MB / 218.7 MB Notification: Performance of matching and sorting (n=113): time 0.02037/0.614, allocations: 5.736 MB / 274.5 MB, free: 47.29 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.6141, allocations: 68.67 kB / 274.5 MB, free: 47.22 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/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2122:9-2124:75:writable] Warning: Parameter smpm.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:2116:9-2118:75:writable] Warning: Parameter smpm.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smpm.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2113:9-2115:51:writable] Warning: Parameter smpm.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:2110:9-2112:75:writable] Warning: Parameter smpm.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (6.283185307179586 * smpm.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2107:9-2109:75:writable] Warning: Parameter smpm.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.3 / (6.283185307179586 * smpm.fsNominal)) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2104:9-2106:50:writable] Warning: Parameter smpm.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) 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 smpm.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smpm.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 smpm.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 smpm.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 smpm.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 smpm.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=smpm.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 smpm.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.001405/0.6155, allocations: 0.7407 MB / 275.3 MB, free: 46.92 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.6157, allocations: 45.14 kB / 275.3 MB, free: 46.88 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.616, allocations: 0.6995 MB / 276 MB, free: 46.34 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.6164, allocations: 392.2 kB / 276.4 MB, free: 46.04 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6165, allocations: 19.22 kB / 276.4 MB, free: 46.02 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.6166, allocations: 351.4 kB / 276.8 MB, free: 45.69 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.6179, allocations: 0.6334 MB / 277.4 MB, free: 45.46 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.6193, allocations: 0.7919 MB / 278.2 MB, free: 45.06 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.6209, allocations: 0.7632 MB / 279 MB, free: 44.78 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.6209, allocations: 6.781 kB / 279 MB, free: 44.78 MB / 218.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005242/0.6262, allocations: 2.138 MB / 281.1 MB, free: 44.03 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.6262, allocations: 6.781 kB / 281.1 MB, free: 44.03 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.6263, allocations: 4.156 kB / 281.1 MB, free: 44.03 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/0.6288, allocations: 0.6327 MB / 281.7 MB, free: 43.86 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.6305, allocations: 230.2 kB / 282 MB, free: 43.86 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.6439, allocations: 8.632 MB / 290.6 MB, free: 38.02 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.6453, allocations: 99.92 kB / 290.7 MB, free: 38 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.6455, allocations: 35.94 kB / 290.7 MB, free: 38 MB / 218.7 MB Warning: Assuming fixed start value for the following 6 variables: loadInertia.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real smpm.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smpm.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smpm.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smpm.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smpm.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,80.6%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.6459, allocations: 181.8 kB / 290.9 MB, free: 37.86 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.6462, allocations: 101.2 kB / 291 MB, free: 37.8 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00824/0.6544, allocations: 2.162 MB / 293.2 MB, free: 36.09 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.6545, allocations: 15.06 kB / 293.2 MB, free: 36.07 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.6546, allocations: 8 kB / 293.2 MB, free: 36.07 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/0.6546, allocations: 3.797 kB / 293.2 MB, free: 36.07 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.6713, allocations: 4.234 MB / 297.4 MB, free: 32.55 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/0.6714, allocations: 4 kB / 297.4 MB, free: 32.55 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/0.6739, allocations: 172.8 kB / 297.6 MB, free: 32.41 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01695/0.6909, allocations: 0.647 MB / 298.3 MB, free: 31.89 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/0.6913, allocations: 31.31 kB / 298.3 MB, free: 31.87 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02674/0.718, allocations: 8.454 MB / 306.7 MB, free: 23.82 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7181, allocations: 4 kB / 306.7 MB, free: 23.82 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/0.7249, allocations: 3.143 MB / 309.9 MB, free: 20.99 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000842/0.7258, allocations: 327.5 kB / 310.2 MB, free: 20.68 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.7261, allocations: 27 kB / 310.2 MB, free: 20.66 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.7273, allocations: 90.53 kB / 310.3 MB, free: 20.6 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.7276, allocations: 96.09 kB / 310.4 MB, free: 20.54 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.7278, allocations: 39.23 kB / 310.4 MB, free: 20.5 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0009617/0.7287, allocations: 0.5499 MB / 311 MB, free: 19.96 MB / 218.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7287, allocations: 0 / 311 MB, free: 19.96 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0018/0.7306, allocations: 385.4 kB / 311.4 MB, free: 19.59 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[1],smpm.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,86.1%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007325/0.7379, allocations: 4.073 MB / 315.4 MB, free: 15.45 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004992/0.7429, allocations: 2.124 MB / 317.6 MB, free: 13.3 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/0.743, allocations: 0 / 317.6 MB, free: 13.3 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003338/0.7463, allocations: 1.396 MB / 319 MB, free: 11.88 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.7482, allocations: 217.7 kB / 319.2 MB, free: 11.68 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/0.7558, allocations: 3.564 MB / 322.7 MB, free: 8.09 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.7572, allocations: 1.616 MB / 324.4 MB, free: 6.441 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.7583, allocations: 0.5383 MB / 324.9 MB, free: 5.902 MB / 218.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7583, allocations: 0 / 324.9 MB, free: 5.902 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.291/4.049, allocations: 48.48 MB / 373.4 MB, free: 54.85 MB / 234.7 MB