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.SMR_CurrentSource.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.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") [: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.001491/0.001491, allocations: 183.3 kB / 8.477 MB, free: 0.5352 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.2 MB / 214.1 MB, free: 8.527 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001279, allocations: 96.78 kB / 262.1 MB, free: 5.164 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.576e-06, allocations: 4 kB / 315 MB, free: 2.031 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 47.57 MB / 362.6 MB, free: 2.344 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3561/0.4661, allocations: 155.4 MB / 0.5058 GB, free: 13.17 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.4665, allocations: 96.75 kB / 0.5059 GB, free: 13.12 MB / 402.8 MB Notification: Performance of FrontEnd: time 1.231/1.698, allocations: 378.7 MB / 0.8758 GB, free: 15.88 MB / 418.8 MB Notification: Performance of Transformations before backend: time 0.0008761/1.699, allocations: 302.4 kB / 0.8761 GB, free: 15.85 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3512 * Number of variables: 3512 Notification: Performance of Generate backend data structure: time 0.03298/1.732, allocations: 11.11 MB / 0.8869 GB, free: 12.15 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.732, allocations: 12.09 kB / 0.8869 GB, free: 12.15 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03559/1.768, allocations: 5.937 MB / 0.8927 GB, free: 11.42 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02151/1.789, allocations: 9.461 MB / 0.902 GB, free: 10.23 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008628/1.79, allocations: 414.8 kB / 0.9024 GB, free: 10.23 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004151/1.794, allocations: 0.7141 MB / 0.9031 GB, free: 10.21 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03189/1.826, allocations: 16.47 MB / 0.9191 GB, free: 10.16 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04268/1.869, allocations: 18.63 MB / 0.9373 GB, free: 5.473 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004686/1.869, allocations: 25.67 kB / 0.9374 GB, free: 5.461 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002978/1.872, allocations: 9.125 kB / 0.9374 GB, free: 5.461 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006665/1.873, allocations: 0.8631 MB / 0.9382 GB, free: 5.293 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2825/2.155, allocations: 65.68 MB / 1.002 GB, free: 63.88 MB / 450.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009529/2.165, allocations: 7.167 MB / 1.009 GB, free: 63.86 MB / 450.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01044/2.176, allocations: 7.769 MB / 1.017 GB, free: 63.76 MB / 450.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04416/2.22, allocations: 26.12 MB / 1.042 GB, free: 62.29 MB / 450.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/2.22, allocations: 110.3 kB / 1.043 GB, free: 62.24 MB / 450.8 MB Notification: Performance of pre-optimization done (n=866): time 1.082e-05/2.22, allocations: 3.375 kB / 1.043 GB, free: 62.24 MB / 450.8 MB Notification: Performance of matching and sorting (n=908): time 0.05329/2.273, allocations: 29.83 MB / 1.072 GB, free: 57.58 MB / 450.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/2.273, allocations: 129.1 kB / 1.072 GB, free: 57.51 MB / 450.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/2.277, allocations: 3.168 MB / 1.075 GB, free: 56.25 MB / 450.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001139/2.279, allocations: 29.48 kB / 1.075 GB, free: 56.22 MB / 450.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/2.28, allocations: 4.219 MB / 1.079 GB, free: 53.14 MB / 450.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002611/2.283, allocations: 2.898 MB / 1.082 GB, free: 50.84 MB / 450.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006314/2.283, allocations: 0 / 1.082 GB, free: 50.84 MB / 450.8 MB Notification: Performance of setup shared object (initialization): time 0.0005058/2.284, allocations: 0.7044 MB / 1.083 GB, free: 50.36 MB / 450.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006737/2.291, allocations: 5.689 MB / 1.088 GB, free: 48.05 MB / 450.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00835/2.299, allocations: 8.109 MB / 1.096 GB, free: 42.8 MB / 450.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/2.311, allocations: 7.381 MB / 1.103 GB, free: 40.02 MB / 450.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.389e-05/2.311, allocations: 21.06 kB / 1.103 GB, free: 40.02 MB / 450.8 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.02995/2.341, allocations: 16.8 MB / 1.12 GB, free: 33.9 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/2.341, allocations: 11.25 kB / 1.12 GB, free: 33.9 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/2.341, allocations: 71.34 kB / 1.12 GB, free: 33.9 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007372/2.349, allocations: 4.107 MB / 1.124 GB, free: 32.65 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008383/2.357, allocations: 1.829 MB / 1.126 GB, free: 32.59 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/2.37, allocations: 12.67 MB / 1.138 GB, free: 21.76 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007122/2.377, allocations: 282 kB / 1.138 GB, free: 21.56 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/2.379, allocations: 417.1 kB / 1.139 GB, free: 21.18 MB / 450.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starMQS.plugToPins_p.pin_p[1].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[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[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smrQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real smrQS.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[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] 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] smrQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smrQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smrQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smrQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smrQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smrQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[3].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.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[1].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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] 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[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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[1].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.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[3].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: 336 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (958): * Single equations (assignments): 902 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.003598/2.383, allocations: 443.4 kB / 1.139 GB, free: 20.91 MB / 450.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/2.385, allocations: 0.5776 MB / 1.14 GB, free: 20.33 MB / 450.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02997/2.415, allocations: 15.91 MB / 1.155 GB, free: 6.887 MB / 450.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001967/2.415, allocations: 201.8 kB / 1.155 GB, free: 6.711 MB / 450.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/2.415, allocations: 5.875 kB / 1.155 GB, free: 6.707 MB / 450.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001178/2.415, allocations: 36.56 kB / 1.155 GB, free: 6.707 MB / 450.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2041/2.619, allocations: 30.47 MB / 1.185 GB, free: 67.63 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/2.619, allocations: 3.594 kB / 1.185 GB, free: 67.63 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006157/2.625, allocations: 1.212 MB / 1.186 GB, free: 67.63 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006754/2.632, allocations: 3.986 MB / 1.19 GB, free: 67.52 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001012/2.633, allocations: 79.92 kB / 1.19 GB, free: 67.52 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/2.644, allocations: 12.52 MB / 1.202 GB, free: 63.07 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/2.644, allocations: 10.81 kB / 1.202 GB, free: 63.07 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03269/2.677, allocations: 24.07 MB / 1.226 GB, free: 61.98 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004959/2.682, allocations: 1.857 MB / 1.228 GB, free: 61.89 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002409/2.684, allocations: 9.875 kB / 1.228 GB, free: 61.89 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005011/2.689, allocations: 198.2 kB / 1.228 GB, free: 61.89 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001438/2.691, allocations: 0.5764 MB / 1.229 GB, free: 61.88 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008841/2.692, allocations: 239.1 kB / 1.229 GB, free: 61.88 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.003346/2.695, allocations: 2.308 MB / 1.231 GB, free: 61.7 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.007323/2.702, allocations: 1.955 MB / 1.233 GB, free: 61.7 MB / 450.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (642): * Single equations (assignments): 586 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * 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.001285/2.704, allocations: 0.5033 MB / 1.233 GB, free: 61.59 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.02032/2.724, allocations: 14.2 MB / 1.247 GB, free: 59.29 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/2.724, allocations: 3.562 kB / 1.247 GB, free: 59.29 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01157/2.736, allocations: 7.36 MB / 1.255 GB, free: 56.32 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006758/2.743, allocations: 0.8952 MB / 1.255 GB, free: 56.11 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04778/2.79, allocations: 22.82 MB / 1.278 GB, free: 47.65 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01153/2.802, allocations: 8.538 MB / 1.286 GB, free: 44.34 MB / 450.8 MB Notification: Performance of SimCode: time 1.202e-06/2.802, allocations: 4 kB / 1.286 GB, free: 44.34 MB / 450.8 MB Notification: Performance of Templates: time 0.3511/3.153, allocations: 137.6 MB / 1.42 GB, free: 62.1 MB / 450.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource_functions.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_functions.c Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_functions.c:558:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_y0 == 0.0)) ~~~~^~~~~~ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_functions.c:558: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.SMR_CurrentSource_functions.c:558: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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource_records.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource_01exo.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource_02nls.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource_03lsy.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource_04set.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource_05evt.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_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_SMR_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -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.SMR_CurrentSource_06inz.o Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_06inz.c Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_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.SMR_CurrentSource_06inz.c:77:11: error: use of undeclared identifier '$Pu$lB1$rB$Pre' tmp12 = $Pu$lB1$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_06inz.c:78:11: error: use of undeclared identifier '$Pu$lB1$rB$Pim' tmp13 = $Pu$lB1$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_06inz.c:79:11: error: use of undeclared identifier '$Pu$lB2$rB$Pre' tmp14 = $Pu$lB2$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_06inz.c:80:11: error: use of undeclared identifier '$Pu$lB2$rB$Pim' tmp15 = $Pu$lB2$rB$Pim; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_06inz.c:81:11: error: use of undeclared identifier '$Pu$lB3$rB$Pre' tmp16 = $Pu$lB3$rB$Pre; ^ Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_06inz.c:82:11: error: use of undeclared identifier '$Pu$lB3$rB$Pim' tmp17 = $Pu$lB3$rB$Pim; ^ 18 errors generated. make: *** [: Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource_06inz.o] Error 1