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.953/1.953, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.53e-05, allocations: 9 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07884/0.0789, allocations: 44.5 MB / 299.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4528, allocations: 109 MB / 408.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4531, allocations: 83.42 kB / 408.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3286/0.7817, allocations: 82.81 MB / 491.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.098e-06/0.7818, allocations: 0 / 491.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002896/0.7821, allocations: 71.92 kB / 491.8 MB, free: 12.64 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.008423/0.7905, allocations: 2.605 MB / 494.4 MB, free: 9.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.7906, allocations: 12.03 kB / 494.4 MB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.7931, allocations: 412.1 kB / 494.8 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.799, allocations: 1.819 MB / 496.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.7993, allocations: 189.3 kB / 496.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000988/0.8003, allocations: 255.8 kB / 497.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009025/0.8094, allocations: 3.137 MB / 0.4885 GB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.63e-05/0.8095, allocations: 3.938 kB / 0.4885 GB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/0.8099, allocations: 112 kB / 0.4886 GB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.8101, allocations: 108.9 kB / 0.4887 GB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007144/0.8173, allocations: 2.444 MB / 0.4911 GB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02715/0.8445, allocations: 10.42 MB / 0.5013 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.848, allocations: 1.762 MB / 0.503 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.85, allocations: 0.8544 MB / 0.5038 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/0.8505, allocations: 223.1 kB / 0.504 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.8505, allocations: 47.56 kB / 0.5041 GB, free: 3.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 5.427e-06/0.8505, allocations: 0 / 0.5041 GB, free: 3.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.2474/1.098, allocations: 6.876 MB / 0.5108 GB, free: 82.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.098, allocations: 66.41 kB / 0.5109 GB, free: 82.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/1.102, allocations: 1.62 MB / 0.5124 GB, free: 81.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002951/1.102, allocations: 48.2 kB / 0.5125 GB, free: 81.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009465/1.103, allocations: 1.17 MB / 0.5136 GB, free: 81.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006135/1.104, allocations: 496.8 kB / 0.5141 GB, free: 81.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/1.104, allocations: 35.47 kB / 0.5141 GB, free: 81.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/1.104, allocations: 374.3 kB / 0.5145 GB, free: 80.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/1.106, allocations: 0.8046 MB / 0.5153 GB, free: 80.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/1.108, allocations: 1.294 MB / 0.5165 GB, free: 80.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/1.111, allocations: 1.011 MB / 0.5175 GB, free: 80.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.122e-05/1.111, allocations: 3.938 kB / 0.5175 GB, free: 80.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.006936/1.118, allocations: 2.718 MB / 0.5202 GB, free: 80.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/1.118, allocations: 14.75 kB / 0.5202 GB, free: 80.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.883e-05/1.118, allocations: 16.5 kB / 0.5202 GB, free: 80.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/1.12, allocations: 0.5887 MB / 0.5208 GB, free: 80.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/1.122, allocations: 403.8 kB / 0.5212 GB, free: 80.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009324/1.132, allocations: 5.443 MB / 0.5265 GB, free: 78.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/1.134, allocations: 136.8 kB / 0.5266 GB, free: 78.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/1.135, allocations: 73.44 kB / 0.5267 GB, free: 78.77 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.0004404/1.135, allocations: 196.8 kB / 0.5269 GB, free: 78.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007002/1.136, allocations: 202.3 kB / 0.5271 GB, free: 78.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/1.141, allocations: 2.501 MB / 0.5295 GB, free: 78.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/1.141, allocations: 15.28 kB / 0.5295 GB, free: 78.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.142, allocations: 9.875 kB / 0.5295 GB, free: 78.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/1.142, allocations: 7.453 kB / 0.5296 GB, free: 78.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.155, allocations: 5.37 MB / 0.5348 GB, free: 77.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/1.155, allocations: 7.156 kB / 0.5348 GB, free: 77.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.157, allocations: 249.6 kB / 0.535 GB, free: 77.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/1.159, allocations: 0.6443 MB / 0.5357 GB, free: 77.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/1.159, allocations: 40.03 kB / 0.5357 GB, free: 77.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/1.17, allocations: 7.13 MB / 0.5427 GB, free: 74.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.391e-06/1.17, allocations: 7.031 kB / 0.5427 GB, free: 74.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007366/1.177, allocations: 3.912 MB / 0.5465 GB, free: 72.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.179, allocations: 465.7 kB / 0.5469 GB, free: 72.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/1.18, allocations: 34.3 kB / 0.547 GB, free: 72.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/1.182, allocations: 116.3 kB / 0.5471 GB, free: 72.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004575/1.182, allocations: 119.9 kB / 0.5472 GB, free: 72.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.182, allocations: 41.47 kB / 0.5472 GB, free: 72.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00287/1.185, allocations: 1.242 MB / 0.5485 GB, free: 71.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.185, allocations: 0 / 0.5485 GB, free: 71.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003519/1.189, allocations: 0.6385 MB / 0.5491 GB, free: 71.48 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.0009098/1.19, allocations: 336.9 kB / 0.5494 GB, free: 71.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005331/1.195, allocations: 2.47 MB / 0.5518 GB, free: 70.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.195, allocations: 3.875 kB / 0.5518 GB, free: 70.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/1.199, allocations: 1.559 MB / 0.5533 GB, free: 69.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/1.202, allocations: 417.8 kB / 0.5537 GB, free: 69.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.212, allocations: 4.214 MB / 0.5579 GB, free: 67.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.215, allocations: 2.046 MB / 0.5598 GB, free: 66.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008044/1.216, allocations: 136.4 kB / 0.56 GB, free: 66.94 MB / 394.7 MB Notification: Performance of SimCode: time 2.031e-06/1.216, allocations: 0 / 0.56 GB, free: 66.94 MB / 394.7 MB Notification: Performance of Templates: time 0.07675/1.292, allocations: 56.18 MB / 0.6148 GB, free: 33.23 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@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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:34: error: use of undeclared identifier 'D_24tmpVar10_'; did you mean 'D_24tmpVar11_'? D_24tmpVar11_ = std::cos(D_24tmpVar10_); ^~~~~~~~~~~~~ D_24tmpVar11_ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:255:12: note: 'D_24tmpVar11_' declared here double D_24tmpVar11_; ^ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:315:34: error: use of undeclared identifier 'D_24tmpVar13_'; did you mean 'D_24tmpVar14_'? D_24tmpVar14_ = std::sin(D_24tmpVar13_); ^~~~~~~~~~~~~ D_24tmpVar14_ ./OMCppModelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_GeneratorFunctions.cpp:292:12: note: 'D_24tmpVar14_' declared here double D_24tmpVar14_; ^ 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