Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002387/0.002386, allocations: 181 kB / 8.152 MB, free: 2.125 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.842/1.842, allocations: 205.2 MB / 213.8 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.00128, allocations: 94.53 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.325e-06/8.496e-06, allocations: 0 / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.255, allocations: 47.56 MB / 361.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.6984, allocations: 155.4 MB / 0.5051 GB, free: 78.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/0.6988, allocations: 105.1 kB / 0.5052 GB, free: 78.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573/2.272, allocations: 378.7 MB / 0.8751 GB, free: 17.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001192/2.273, allocations: 291 kB / 0.8754 GB, free: 17.18 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: 3512 * Number of variables: 3512 Notification: Performance of Generate backend data structure: time 0.05543/2.329, allocations: 11.1 MB / 0.8862 GB, free: 13.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/2.329, allocations: 13.92 kB / 0.8862 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0704/2.399, allocations: 5.942 MB / 0.892 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03673/2.436, allocations: 9.465 MB / 0.9013 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/2.437, allocations: 421.8 kB / 0.9017 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005889/2.443, allocations: 0.7047 MB / 0.9024 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05409/2.497, allocations: 16.47 MB / 0.9185 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06913/2.566, allocations: 18.63 MB / 0.9367 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008362/2.567, allocations: 25.05 kB / 0.9367 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005355/2.573, allocations: 10.78 kB / 0.9367 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/2.574, allocations: 0.8631 MB / 0.9375 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.41/2.984, allocations: 65.76 MB / 1.002 GB, free: 72.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/3.001, allocations: 7.166 MB / 1.009 GB, free: 72.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02565/3.027, allocations: 7.768 MB / 1.016 GB, free: 72.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08029/3.107, allocations: 26.12 MB / 1.042 GB, free: 70.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/3.107, allocations: 110.7 kB / 1.042 GB, free: 70.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=866): time 1.353e-05/3.107, allocations: 0 / 1.042 GB, free: 70.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=908): time 0.1047/3.212, allocations: 29.83 MB / 1.071 GB, free: 68.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/3.212, allocations: 131 kB / 1.071 GB, free: 68.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009012/3.221, allocations: 3.171 MB / 1.074 GB, free: 68.56 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001995/3.223, allocations: 27.52 kB / 1.074 GB, free: 68.53 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002344/3.226, allocations: 4.043 MB / 1.078 GB, free: 65.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004721/3.23, allocations: 2.903 MB / 1.081 GB, free: 63.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/3.232, allocations: 0 / 1.081 GB, free: 63.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001083/3.233, allocations: 0.7082 MB / 1.082 GB, free: 62.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0149/3.248, allocations: 5.692 MB / 1.087 GB, free: 60.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01799/3.266, allocations: 8.1 MB / 1.095 GB, free: 55.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02238/3.288, allocations: 7.385 MB / 1.102 GB, free: 52.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/3.289, allocations: 21.03 kB / 1.103 GB, free: 52.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.05397/3.343, allocations: 16.59 MB / 1.119 GB, free: 46.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/3.343, allocations: 11.06 kB / 1.119 GB, free: 46.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/3.343, allocations: 72.09 kB / 1.119 GB, free: 46.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/3.356, allocations: 3.952 MB / 1.123 GB, free: 45.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/3.373, allocations: 1.836 MB / 1.124 GB, free: 45.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/3.396, allocations: 13.22 MB / 1.137 GB, free: 35.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009987/3.406, allocations: 251.5 kB / 1.138 GB, free: 35.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003038/3.409, allocations: 420.3 kB / 1.138 GB, free: 35.12 MB / 458.7 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.electroMagneticConverter.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real smrQS.stator.strayReluctance.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 smrQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real resistorQS.resistor[3].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] 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] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" 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.im:VARIABLE() "Imaginary part of complex number" type: Real [3] smrQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" 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] smrQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary 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[1].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] resistorQS.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" 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,22 111,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005019/3.414, allocations: 370.8 kB / 1.138 GB, free: 34.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003333/3.417, allocations: 0.5771 MB / 1.139 GB, free: 34.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05214/3.469, allocations: 15.91 MB / 1.154 GB, free: 20.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003151/3.47, allocations: 202 kB / 1.155 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/3.47, allocations: 3.938 kB / 1.155 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001814/3.47, allocations: 36.98 kB / 1.155 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3225/3.793, allocations: 31.29 MB / 1.185 GB, free: 70.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.53e-05/3.793, allocations: 3.969 kB / 1.185 GB, free: 70.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0127/3.805, allocations: 1.211 MB / 1.186 GB, free: 70.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01325/3.819, allocations: 3.982 MB / 1.19 GB, free: 70.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002288/3.821, allocations: 81.94 kB / 1.19 GB, free: 70.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/3.842, allocations: 12.52 MB / 1.203 GB, free: 66.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/3.842, allocations: 8.938 kB / 1.203 GB, free: 66.14 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06253/3.904, allocations: 24.07 MB / 1.226 GB, free: 65.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007337/3.911, allocations: 1.854 MB / 1.228 GB, free: 64.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003386/3.915, allocations: 10.34 kB / 1.228 GB, free: 64.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009314/3.924, allocations: 223.2 kB / 1.228 GB, free: 64.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003129/3.927, allocations: 0.5731 MB / 1.229 GB, free: 64.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002041/3.93, allocations: 242.4 kB / 1.229 GB, free: 64.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.005991/3.936, allocations: 2.3 MB / 1.231 GB, free: 64.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0136/3.949, allocations: 1.964 MB / 1.233 GB, free: 64.77 MB / 458.7 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.003086/3.952, allocations: 0.5027 MB / 1.234 GB, free: 64.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03862/3.991, allocations: 14.21 MB / 1.247 GB, free: 64.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/3.991, allocations: 0 / 1.247 GB, free: 64.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02165/4.013, allocations: 7.356 MB / 1.255 GB, free: 63.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/4.024, allocations: 0.8954 MB / 1.256 GB, free: 63.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08161/4.106, allocations: 22.53 MB / 1.278 GB, free: 59.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02646/4.132, allocations: 8.295 MB / 1.286 GB, free: 57.27 MB / 458.7 MB Notification: Performance of SimCode: time 2.244e-06/4.132, allocations: 0 / 1.286 GB, free: 57.27 MB / 458.7 MB Notification: Performance of Templates: time 1.937/6.069, allocations: 0.6827 GB / 1.968 GB, free: 29.37 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1415:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp320 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1415:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp320 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1416:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp321 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1416:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp321 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1417:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp322 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1417:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp322 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1430:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp323 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1430:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp323 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1431:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp324 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1431:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp324 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1432:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp325 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1432:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp325 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1445:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp326 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1445:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp326 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1446:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp327 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1446:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp327 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1447:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp328 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceInitialize.cpp:1447:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp328 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n18 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceCalcHelperMain.o] Error 1\n'