Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.654e-05, allocations: 6.172 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09247, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.4726, allocations: 109 MB / 408.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4729, allocations: 82.42 kB / 409 MB, free: 14.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3237/0.7966, allocations: 82.81 MB / 491.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.368e-06/0.7967, allocations: 3.938 kB / 491.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003105/0.797, allocations: 67.94 kB / 491.8 MB, free: 12.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.007292/0.8043, allocations: 2.601 MB / 494.4 MB, free: 9.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.8044, allocations: 8.031 kB / 494.5 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.8064, allocations: 416.1 kB / 494.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/0.8114, allocations: 1.815 MB / 496.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.8117, allocations: 189.4 kB / 496.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005702/0.8123, allocations: 255.9 kB / 497.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007579/0.8199, allocations: 3.111 MB / 0.4885 GB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-05/0.82, allocations: 4 kB / 0.4885 GB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/0.8204, allocations: 108 kB / 0.4886 GB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/0.8206, allocations: 108.9 kB / 0.4887 GB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006596/0.8272, allocations: 2.415 MB / 0.4911 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02295/0.8502, allocations: 10.42 MB / 0.5012 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.8535, allocations: 1.742 MB / 0.5029 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.8554, allocations: 0.8583 MB / 0.5038 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004558/0.8558, allocations: 223.1 kB / 0.504 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.8559, allocations: 44.22 kB / 0.504 GB, free: 3.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 4.81e-06/0.8559, allocations: 0 / 0.504 GB, free: 3.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.2373/1.093, allocations: 6.872 MB / 0.5107 GB, free: 81.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/1.093, allocations: 66.53 kB / 0.5108 GB, free: 81.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/1.097, allocations: 1.619 MB / 0.5124 GB, free: 81.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/1.097, allocations: 51.23 kB / 0.5124 GB, free: 81.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007936/1.098, allocations: 1.171 MB / 0.5136 GB, free: 81.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004669/1.098, allocations: 496.2 kB / 0.5141 GB, free: 80.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/1.098, allocations: 32.91 kB / 0.5141 GB, free: 80.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/1.098, allocations: 381.1 kB / 0.5145 GB, free: 80.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/1.1, allocations: 0.8003 MB / 0.5152 GB, free: 80.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.102, allocations: 1.28 MB / 0.5165 GB, free: 80 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/1.104, allocations: 1.017 MB / 0.5175 GB, free: 79.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/1.104, allocations: 3.844 kB / 0.5175 GB, free: 79.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.006037/1.11, allocations: 2.668 MB / 0.5201 GB, free: 79.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/1.111, allocations: 15.06 kB / 0.5201 GB, free: 79.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.484e-05/1.111, allocations: 16.75 kB / 0.5201 GB, free: 79.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/1.113, allocations: 0.5858 MB / 0.5207 GB, free: 79.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.114, allocations: 409 kB / 0.5211 GB, free: 79.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009145/1.124, allocations: 5.446 MB / 0.5264 GB, free: 78.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.126, allocations: 136.7 kB / 0.5265 GB, free: 78.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/1.126, allocations: 70.12 kB / 0.5266 GB, free: 78.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003797/1.127, allocations: 210.5 kB / 0.5268 GB, free: 78.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/1.127, allocations: 195.6 kB / 0.527 GB, free: 78.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005436/1.133, allocations: 2.501 MB / 0.5294 GB, free: 78.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.133, allocations: 15.34 kB / 0.5294 GB, free: 78.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.133, allocations: 3.938 kB / 0.5294 GB, free: 78.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.133, allocations: 7.5 kB / 0.5295 GB, free: 78.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/1.144, allocations: 5.369 MB / 0.5347 GB, free: 77.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.373e-05/1.144, allocations: 3.625 kB / 0.5347 GB, free: 77.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.145, allocations: 248.7 kB / 0.5349 GB, free: 77.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/1.148, allocations: 0.645 MB / 0.5356 GB, free: 77.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.148, allocations: 43.25 kB / 0.5356 GB, free: 77.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/1.158, allocations: 7.131 MB / 0.5426 GB, free: 73.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.244e-06/1.158, allocations: 5.062 kB / 0.5426 GB, free: 73.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007238/1.165, allocations: 3.914 MB / 0.5464 GB, free: 72.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.167, allocations: 464.1 kB / 0.5468 GB, free: 71.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/1.167, allocations: 38.59 kB / 0.5469 GB, free: 71.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.169, allocations: 107.8 kB / 0.547 GB, free: 71.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/1.169, allocations: 125.9 kB / 0.5471 GB, free: 71.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.169, allocations: 40.91 kB / 0.5471 GB, free: 71.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002294/1.171, allocations: 1.245 MB / 0.5484 GB, free: 71.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.495e-06/1.171, allocations: 3.656 kB / 0.5484 GB, free: 71.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002558/1.174, allocations: 0.6342 MB / 0.549 GB, free: 71.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006441/1.175, allocations: 342.9 kB / 0.5493 GB, free: 71.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004622/1.179, allocations: 2.415 MB / 0.5517 GB, free: 70.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.317e-06/1.179, allocations: 3.188 kB / 0.5517 GB, free: 70.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003106/1.182, allocations: 1.528 MB / 0.5532 GB, free: 69.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.185, allocations: 412.1 kB / 0.5535 GB, free: 69.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008287/1.193, allocations: 4.201 MB / 0.5577 GB, free: 67.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/1.195, allocations: 2.044 MB / 0.5596 GB, free: 66.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/1.196, allocations: 135 kB / 0.5598 GB, free: 66.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.655e-06/1.196, allocations: 0 / 0.5598 GB, free: 66.65 MB / 394.7 MB Notification: Performance of Templates: time 0.06606/1.262, allocations: 55.94 MB / 0.6144 GB, free: 33.19 MB / 394.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:278:49: error: use of undeclared identifier '_omcQuot_24746D705661723130_'; did you mean '_omcQuot_24746D705661723131_'? _omcQuot_24746D705661723131_ = std::cos(_omcQuot_24746D705661723130_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723131_ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:255:12: note: '_omcQuot_24746D705661723131_' declared here double _omcQuot_24746D705661723131_; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:315:49: error: use of undeclared identifier '_omcQuot_24746D705661723133_'; did you mean '_omcQuot_24746D705661723134_'? _omcQuot_24746D705661723134_ = std::sin(_omcQuot_24746D705661723133_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723134_ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:292:12: note: '_omcQuot_24746D705661723134_' declared here double _omcQuot_24746D705661723134_; ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorCalcHelperMain.o] Error 1