Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001715/0.001715, allocations: 189.8 kB / 8.133 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.246/1.246, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001812/0.001812, allocations: 123.1 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.596e-06, allocations: 4 kB / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07728/0.0773, allocations: 44.5 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/0.3362, allocations: 129.2 MB / 471.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000398/0.3366, allocations: 100.5 kB / 471.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.9928/1.329, allocations: 327.4 MB / 0.7801 GB, free: 38.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007933/1.33, allocations: 226.7 kB / 0.7803 GB, free: 38 MB / 410.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.02864/1.359, allocations: 8.786 MB / 0.7889 GB, free: 33.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.359, allocations: 8.75 kB / 0.7889 GB, free: 33.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03545/1.394, allocations: 5.466 MB / 0.7943 GB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/1.412, allocations: 7.444 MB / 0.8015 GB, free: 23.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006469/1.413, allocations: 328 kB / 0.8018 GB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/1.417, allocations: 0.5506 MB / 0.8024 GB, free: 22.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02556/1.442, allocations: 13.89 MB / 0.8159 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.179/1.621, allocations: 15.51 MB / 0.8311 GB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003754/1.622, allocations: 17.81 kB / 0.8311 GB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002723/1.624, allocations: 10.19 kB / 0.8311 GB, free: 62.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006421/1.625, allocations: 0.7379 MB / 0.8318 GB, free: 62.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09176/1.717, allocations: 54.71 MB / 0.8853 GB, free: 54.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009733/1.727, allocations: 6.499 MB / 0.8916 GB, free: 53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01067/1.737, allocations: 7.029 MB / 0.8985 GB, free: 50.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04595/1.783, allocations: 24.23 MB / 0.9221 GB, free: 38.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.351e-05/1.783, allocations: 109.9 kB / 0.9222 GB, free: 38.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=779): time 1.331e-05/1.783, allocations: 2.734 kB / 0.9222 GB, free: 38.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=787): time 0.05798/1.841, allocations: 25.75 MB / 0.9474 GB, free: 27.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/1.841, allocations: 123.9 kB / 0.9475 GB, free: 27.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/1.846, allocations: 2.232 MB / 0.9497 GB, free: 26.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001523/1.848, allocations: 25.7 kB / 0.9497 GB, free: 26.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/1.85, allocations: 3.176 MB / 0.9528 GB, free: 24.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003178/1.853, allocations: 2.498 MB / 0.9553 GB, free: 22.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/1.854, allocations: 0 / 0.9553 GB, free: 22.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008999/1.855, allocations: 0.6333 MB / 0.9559 GB, free: 21.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00827/1.863, allocations: 5.102 MB / 0.9609 GB, free: 19.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009803/1.873, allocations: 6.934 MB / 0.9676 GB, free: 15.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/1.886, allocations: 6.544 MB / 0.974 GB, free: 12.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-05/1.886, allocations: 16 kB / 0.974 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=1036) (initialization): time 0.1789/2.065, allocations: 15.04 MB / 0.9887 GB, free: 60.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/2.065, allocations: 8.625 kB / 0.9887 GB, free: 60.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/2.065, allocations: 55.22 kB / 0.9888 GB, free: 60.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007359/2.072, allocations: 3.985 MB / 0.9927 GB, free: 60.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/2.079, allocations: 1.408 MB / 0.994 GB, free: 60.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/2.09, allocations: 10.25 MB / 1.004 GB, free: 58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005854/2.096, allocations: 233.6 kB / 1.004 GB, free: 58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/2.097, allocations: 343.2 kB / 1.005 GB, free: 58 MB / 410.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.00163/2.099, allocations: 393.5 kB / 1.005 GB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/2.1, allocations: 452.3 kB / 1.005 GB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02308/2.123, allocations: 14.48 MB / 1.02 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001643/2.123, allocations: 192 kB / 1.02 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/2.123, allocations: 3.344 kB / 1.02 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.775e-05/2.123, allocations: 38.11 kB / 1.02 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04304/2.167, allocations: 26.84 MB / 1.046 GB, free: 55.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/2.167, allocations: 3.406 kB / 1.046 GB, free: 55.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005118/2.172, allocations: 0.9747 MB / 1.047 GB, free: 55.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00674/2.178, allocations: 3.894 MB / 1.051 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001062/2.18, allocations: 78.73 kB / 1.051 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/2.19, allocations: 10.13 MB / 1.061 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/2.19, allocations: 5.562 kB / 1.061 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02887/2.219, allocations: 21.83 MB / 1.082 GB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00433/2.223, allocations: 1.609 MB / 1.084 GB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/2.225, allocations: 4.781 kB / 1.084 GB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003453/2.228, allocations: 172.7 kB / 1.084 GB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001111/2.229, allocations: 0.5208 MB / 1.084 GB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006053/2.23, allocations: 212.9 kB / 1.084 GB, free: 43.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002449/2.233, allocations: 1.632 MB / 1.086 GB, free: 43.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006904/2.239, allocations: 1.579 MB / 1.088 GB, free: 43 MB / 410.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.001439/2.241, allocations: 490.7 kB / 1.088 GB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02067/2.262, allocations: 12.34 MB / 1.1 GB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/2.262, allocations: 0 / 1.1 GB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01095/2.273, allocations: 6.318 MB / 1.106 GB, free: 33.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005056/2.278, allocations: 0.6519 MB / 1.107 GB, free: 33.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/2.318, allocations: 18.9 MB / 1.125 GB, free: 16.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1543/2.472, allocations: 6.982 MB / 1.132 GB, free: 75.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/2.472, allocations: 0 / 1.132 GB, free: 75.76 MB / 426.7 MB Notification: Performance of Templates: time 0.1633/2.635, allocations: 119.7 MB / 1.249 GB, free: 41.1 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_functions.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_functions.c Modelica_3.2.2_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.2_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.2_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@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_records.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_records.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_01exo.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_01exo.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_02nls.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_02nls.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_03lsy.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_03lsy.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_04set.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_04set.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_05evt.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_05evt.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.o Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.c Modelica_3.2.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_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.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA_06inz.o] Error 1