Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 178.4 kB / 8.475 MB, free: 1.863 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.2 MB / 214.1 MB, free: 5.156 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008261/0.0008263, allocations: 86.25 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.652e-06, allocations: 0 / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06968/0.0697, allocations: 47.57 MB / 362.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.268/0.3378, allocations: 135.1 MB / 497.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.3381, allocations: 106.2 kB / 497.8 MB, free: 6.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.9528/1.291, allocations: 326.1 MB / 0.8046 GB, free: 31.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006614/1.292, allocations: 216.1 kB / 0.8048 GB, free: 31.29 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.04428/1.336, allocations: 8.789 MB / 0.8134 GB, free: 28.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/1.336, allocations: 11.12 kB / 0.8134 GB, free: 28.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03898/1.375, allocations: 5.47 MB / 0.8187 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/1.394, allocations: 7.44 MB / 0.826 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008535/1.395, allocations: 325.4 kB / 0.8263 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004989/1.4, allocations: 0.5569 MB / 0.8268 GB, free: 26.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03441/1.434, allocations: 13.88 MB / 0.8404 GB, free: 24.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04754/1.482, allocations: 15.51 MB / 0.8556 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004633/1.483, allocations: 19.8 kB / 0.8556 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004343/1.487, allocations: 7.906 kB / 0.8556 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007147/1.488, allocations: 0.7369 MB / 0.8563 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3598/1.847, allocations: 54.71 MB / 0.9097 GB, free: 56.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/1.858, allocations: 6.496 MB / 0.9161 GB, free: 56.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01165/1.87, allocations: 7.03 MB / 0.9229 GB, free: 56.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04997/1.92, allocations: 24.23 MB / 0.9466 GB, free: 54.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/1.92, allocations: 105.1 kB / 0.9467 GB, free: 54.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=779): time 1.322e-05/1.92, allocations: 0 / 0.9467 GB, free: 54.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=787): time 0.06164/1.982, allocations: 25.74 MB / 0.9718 GB, free: 51.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/1.982, allocations: 124 kB / 0.9719 GB, free: 51.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006589/1.988, allocations: 2.23 MB / 0.9741 GB, free: 50.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003083/1.992, allocations: 25.7 kB / 0.9742 GB, free: 50.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003005/1.995, allocations: 3.172 MB / 0.9772 GB, free: 48.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005024/2, allocations: 2.509 MB / 0.9797 GB, free: 46.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/2.001, allocations: 0 / 0.9797 GB, free: 46.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001036/2.003, allocations: 0.6301 MB / 0.9803 GB, free: 46.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009243/2.012, allocations: 5.103 MB / 0.9853 GB, free: 44.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/2.023, allocations: 6.941 MB / 0.9921 GB, free: 39.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/2.037, allocations: 6.535 MB / 0.9985 GB, free: 37.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/2.037, allocations: 15.41 kB / 0.9985 GB, free: 37.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=1036) (initialization): time 0.04109/2.078, allocations: 14.99 MB / 1.013 GB, free: 31.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/2.078, allocations: 6.516 kB / 1.013 GB, free: 31.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/2.078, allocations: 53.62 kB / 1.013 GB, free: 31.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007839/2.086, allocations: 3.998 MB / 1.017 GB, free: 27.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007394/2.093, allocations: 1.409 MB / 1.018 GB, free: 26.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/2.107, allocations: 10.26 MB / 1.028 GB, free: 17.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007089/2.114, allocations: 233.2 kB / 1.029 GB, free: 17.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003447/2.118, allocations: 342.9 kB / 1.029 GB, free: 17.11 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starMQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smpmQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real smpmQS.stator.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real resistorQS.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 690 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * 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: 0 * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005135/2.123, allocations: 395 kB / 1.029 GB, free: 16.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002538/2.125, allocations: 450.2 kB / 1.03 GB, free: 16.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03418/2.159, allocations: 14.48 MB / 1.044 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003837/2.16, allocations: 194 kB / 1.044 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-05/2.16, allocations: 0 / 1.044 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002243/2.16, allocations: 34.88 kB / 1.044 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07021/2.23, allocations: 27.68 MB / 1.071 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001041/2.231, allocations: 4 kB / 1.071 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00606/2.237, allocations: 0.9655 MB / 1.072 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00946/2.246, allocations: 3.888 MB / 1.076 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002174/2.248, allocations: 77.25 kB / 1.076 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/2.262, allocations: 10.13 MB / 1.086 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/2.262, allocations: 10.69 kB / 1.086 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2966/2.559, allocations: 22.93 MB / 1.108 GB, free: 86.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004806/2.564, allocations: 1.599 MB / 1.11 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002082/2.566, allocations: 7.703 kB / 1.11 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004404/2.57, allocations: 172.8 kB / 1.11 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001516/2.572, allocations: 0.5274 MB / 1.111 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006378/2.572, allocations: 208.1 kB / 1.111 GB, free: 86.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002722/2.575, allocations: 1.636 MB / 1.112 GB, free: 86.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008252/2.583, allocations: 1.577 MB / 1.114 GB, free: 86.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (smpmQS.phiMechanical) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (529): * Single equations (assignments): 477 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * 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: 0 * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/2.585, allocations: 493.3 kB / 1.114 GB, free: 85.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02494/2.61, allocations: 12.34 MB / 1.126 GB, free: 85.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/2.61, allocations: 2.906 kB / 1.126 GB, free: 85.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01213/2.622, allocations: 6.325 MB / 1.133 GB, free: 85.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006083/2.629, allocations: 0.6564 MB / 1.133 GB, free: 85.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04982/2.678, allocations: 18.93 MB / 1.152 GB, free: 82.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0117/2.69, allocations: 6.975 MB / 1.159 GB, free: 82.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/2.69, allocations: 0 / 1.159 GB, free: 82.05 MB / 490.7 MB Notification: Performance of Templates: time 0.3989/3.089, allocations: 119.7 MB / 1.275 GB, free: 87.68 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_functions.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_functions.c Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_functions.c:528:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_y0 == 0.0)) ~~~~^~~~~~ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_functions.c:528:11: note: remove extraneous parentheses around the comparison to silence this warning if((_y0 == 0.0)) ~ ^ ~ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_functions.c:528:11: note: use '=' to turn this equality comparison into an assignment if((_y0 == 0.0)) ^~ = 1 warning generated. clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_records.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_records.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_01exo.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_01exo.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_02nls.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_02nls.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_03lsy.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_03lsy.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_04set.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_04set.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_05evt.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_05evt.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MTPA -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:27:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp0 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:28:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp1 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:29:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp2 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:30:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp3 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:31:10: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp4 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:32:10: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp5 = $Pu$lB3$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:52:10: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp6 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:53:10: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp7 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:54:10: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp8 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:55:10: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp9 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:56:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp10 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:57:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp11 = $Pu$lB3$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:115:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp15 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:116:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp16 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:117:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp17 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:118:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp18 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:119:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp19 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:120:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp20 = $Pu$lB3$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c:140:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp21 = $Pu$lB1$rB$Pre; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.o] Error 1