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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002141/0.002141, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001091, allocations: 81.28 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.058e-05, allocations: 0 / 314.8 MB, free: 9.129 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3451, allocations: 47.57 MB / 362.4 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5506/0.8958, allocations: 155.5 MB / 0.5057 GB, free: 78.78 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.8963, allocations: 106.9 kB / 0.5058 GB, free: 78.78 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.875/2.771, allocations: 380.2 MB / 0.8771 GB, free: 31.97 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.624e-06/2.771, allocations: 2.719 kB / 0.8771 GB, free: 31.97 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.001038/2.772, allocations: 289.9 kB / 0.8773 GB, free: 31.95 MB / 443.1 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.05084/2.823, allocations: 11.04 MB / 0.8881 GB, free: 28.38 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/2.823, allocations: 10.34 kB / 0.8881 GB, free: 28.38 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05166/2.875, allocations: 6.328 MB / 0.8943 GB, free: 27.67 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03562/2.911, allocations: 9.451 MB / 0.9035 GB, free: 26.48 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001156/2.912, allocations: 416.1 kB / 0.9039 GB, free: 26.48 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006094/2.918, allocations: 0.7159 MB / 0.9046 GB, free: 26.47 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04768/2.966, allocations: 16.18 MB / 0.9204 GB, free: 26.42 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06465/3.03, allocations: 18.33 MB / 0.9383 GB, free: 23.77 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008496/3.031, allocations: 18.44 kB / 0.9383 GB, free: 23.77 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005293/3.037, allocations: 7.031 kB / 0.9384 GB, free: 23.77 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001362/3.038, allocations: 0.8382 MB / 0.9392 GB, free: 23.6 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5601/3.598, allocations: 63.11 MB / 1.001 GB, free: 41.15 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05336/3.652, allocations: 45.28 MB / 1.045 GB, free: 22.09 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02028/3.672, allocations: 7.684 MB / 1.053 GB, free: 21.98 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07237/3.744, allocations: 24.08 MB / 1.076 GB, free: 21.02 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/3.744, allocations: 101.9 kB / 1.076 GB, free: 20.97 MB / 475.1 MB Notification: Performance of pre-optimization done (n=764): time 1.25e-05/3.745, allocations: 0 / 1.076 GB, free: 20.97 MB / 475.1 MB Notification: Performance of matching and sorting (n=806): time 0.09752/3.842, allocations: 29.38 MB / 1.105 GB, free: 17.86 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/3.842, allocations: 119.4 kB / 1.105 GB, free: 17.79 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008014/3.85, allocations: 3.094 MB / 1.108 GB, free: 16.57 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001827/3.852, allocations: 25.7 kB / 1.108 GB, free: 16.54 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003528/3.856, allocations: 4.743 MB / 1.113 GB, free: 12.86 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004232/3.86, allocations: 2.582 MB / 1.115 GB, free: 10.82 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/3.862, allocations: 0 / 1.115 GB, free: 10.82 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.001181/3.863, allocations: 0.6724 MB / 1.116 GB, free: 10.34 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01281/3.876, allocations: 5.079 MB / 1.121 GB, free: 8.184 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0156/3.892, allocations: 7.44 MB / 1.128 GB, free: 3.129 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02262/3.914, allocations: 7.453 MB / 1.135 GB, free: 368 kB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/3.915, allocations: 21.81 kB / 1.135 GB, free: 368 kB / 475.1 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.05669/3.971, allocations: 16.29 MB / 1.151 GB, free: 12.11 MB / 491.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/3.971, allocations: 35 kB / 1.151 GB, free: 12.11 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/3.972, allocations: 77.33 kB / 1.151 GB, free: 12.11 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/3.986, allocations: 4.056 MB / 1.155 GB, free: 9.32 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/3.999, allocations: 1.684 MB / 1.157 GB, free: 8.039 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/4.023, allocations: 12.38 MB / 1.169 GB, free: 12.43 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/4.034, allocations: 334.9 kB / 1.169 GB, free: 12.22 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002859/4.037, allocations: 388.1 kB / 1.17 GB, free: 11.86 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[2].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] starMQS.plugToPins_p.pin_p[2].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[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.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] 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] smrQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real 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[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] 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] currentRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].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[2].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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.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[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[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[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[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 797 * 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.004893/4.042, allocations: 446.3 kB / 1.17 GB, free: 11.6 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003295/4.045, allocations: 0.5541 MB / 1.171 GB, free: 11.04 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.44/4.485, allocations: 15.35 MB / 1.186 GB, free: 83.64 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003023/4.485, allocations: 192.6 kB / 1.186 GB, free: 83.64 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-05/4.485, allocations: 0 / 1.186 GB, free: 83.64 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000179/4.486, allocations: 35.39 kB / 1.186 GB, free: 83.64 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08339/4.569, allocations: 27.92 MB / 1.213 GB, free: 82.82 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.614e-05/4.569, allocations: 4.219 kB / 1.213 GB, free: 82.82 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01026/4.579, allocations: 1.091 MB / 1.214 GB, free: 82.82 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01357/4.593, allocations: 3.938 MB / 1.218 GB, free: 82.71 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002072/4.595, allocations: 85.17 kB / 1.218 GB, free: 82.71 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/4.616, allocations: 12.2 MB / 1.23 GB, free: 78.25 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/4.616, allocations: 5.438 kB / 1.23 GB, free: 78.25 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05913/4.675, allocations: 22.57 MB / 1.252 GB, free: 77.12 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007155/4.682, allocations: 1.762 MB / 1.254 GB, free: 77.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003069/4.685, allocations: 6.922 kB / 1.254 GB, free: 77.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008213/4.694, allocations: 267.1 kB / 1.254 GB, free: 77.03 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003013/4.697, allocations: 0.5665 MB / 1.255 GB, free: 77.02 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002071/4.699, allocations: 216.9 kB / 1.255 GB, free: 77.02 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.006217/4.705, allocations: 2.236 MB / 1.257 GB, free: 76.84 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.22e-07/4.705, allocations: 5.141 kB / 1.257 GB, free: 76.84 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01404/4.719, allocations: 1.884 MB / 1.259 GB, free: 76.84 MB / 0.4952 GB 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 (540): * Single equations (assignments): 484 * 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.00292/4.722, allocations: 496 kB / 1.259 GB, free: 76.74 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.03285/4.755, allocations: 12.86 MB / 1.272 GB, free: 71.88 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/4.755, allocations: 0 / 1.272 GB, free: 71.88 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.01868/4.774, allocations: 6.723 MB / 1.278 GB, free: 69.02 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/4.784, allocations: 0.9406 MB / 1.279 GB, free: 68.81 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06745/4.852, allocations: 21.55 MB / 1.3 GB, free: 60.59 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01904/4.871, allocations: 7.739 MB / 1.308 GB, free: 58.01 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00493/4.876, allocations: 488 kB / 1.308 GB, free: 57.98 MB / 0.4952 GB Notification: Performance of SimCode: time 2.074e-06/4.876, allocations: 0 / 1.308 GB, free: 57.98 MB / 0.4952 GB Notification: Performance of Templates: time 2.61/7.486, allocations: 0.7064 GB / 2.015 GB, free: 59.93 MB / 0.5108 GB 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:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceFunctions.cpp:455:43: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp301 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSourceFunctions.cpp:455:86: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp301 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0)));\n ^\n2 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'