Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-05/5.148e-05, allocations: 0 / 292.1 MB, free: 8.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09656, allocations: 50.41 MB / 342.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5004, allocations: 114.4 MB / 456.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5007, allocations: 86.81 kB / 457 MB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5998/1.101, allocations: 83.25 MB / 0.5276 GB, free: 105.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.309e-06/1.101, allocations: 0 / 0.5276 GB, free: 105.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002397/1.101, allocations: 69 kB / 0.5277 GB, free: 105.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.007184/1.108, allocations: 2.625 MB / 0.5302 GB, free: 104.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.108, allocations: 10.33 kB / 0.5302 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/1.11, allocations: 420.2 kB / 0.5306 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005343/1.116, allocations: 1.84 MB / 0.5324 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/1.116, allocations: 187.7 kB / 0.5326 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/1.117, allocations: 251 kB / 0.5328 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007472/1.124, allocations: 3.118 MB / 0.5359 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.145e-05/1.124, allocations: 8.375 kB / 0.5359 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/1.125, allocations: 106.8 kB / 0.536 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/1.125, allocations: 107.3 kB / 0.5361 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006359/1.131, allocations: 2.422 MB / 0.5385 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02243/1.154, allocations: 10.47 MB / 0.5487 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/1.156, allocations: 1.749 MB / 0.5504 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/1.158, allocations: 0.8654 MB / 0.5513 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/1.158, allocations: 215.7 kB / 0.5515 GB, free: 99.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.158, allocations: 48.2 kB / 0.5515 GB, free: 99.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.785e-06/1.158, allocations: 6.812 kB / 0.5515 GB, free: 99.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=144): time 0.03094/1.189, allocations: 6.934 MB / 0.5583 GB, free: 99.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/1.189, allocations: 69.8 kB / 0.5583 GB, free: 98.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005854/1.195, allocations: 1.63 MB / 0.5599 GB, free: 98.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004102/1.196, allocations: 48.92 kB / 0.56 GB, free: 98.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/1.197, allocations: 1.168 MB / 0.5611 GB, free: 97.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007793/1.198, allocations: 0.4926 MB / 0.5616 GB, free: 97.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/1.198, allocations: 36.22 kB / 0.5616 GB, free: 97.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/1.198, allocations: 376 kB / 0.562 GB, free: 96.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003071/1.201, allocations: 0.8104 MB / 0.5628 GB, free: 96.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003398/1.205, allocations: 1.281 MB / 0.564 GB, free: 95.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/1.209, allocations: 1.019 MB / 0.565 GB, free: 95.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-05/1.209, allocations: 3.906 kB / 0.565 GB, free: 95.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.01111/1.22, allocations: 2.689 MB / 0.5677 GB, free: 94.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/1.22, allocations: 11 kB / 0.5677 GB, free: 94.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.674e-05/1.22, allocations: 21.91 kB / 0.5677 GB, free: 94.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003539/1.224, allocations: 0.5897 MB / 0.5683 GB, free: 94.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/1.228, allocations: 407.7 kB / 0.5687 GB, free: 94.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/1.244, allocations: 5.459 MB / 0.574 GB, free: 91.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/1.249, allocations: 133.9 kB / 0.5741 GB, free: 91.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004976/1.249, allocations: 83.62 kB / 0.5742 GB, free: 91.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * 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.0007063/1.25, allocations: 200 kB / 0.5744 GB, free: 91.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009975/1.251, allocations: 206.9 kB / 0.5746 GB, free: 90.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/1.257, allocations: 2.518 MB / 0.5771 GB, free: 89.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.257, allocations: 14.81 kB / 0.5771 GB, free: 89.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.257, allocations: 11.67 kB / 0.5771 GB, free: 89.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/1.257, allocations: 3.656 kB / 0.5771 GB, free: 89.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/1.269, allocations: 5.412 MB / 0.5824 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/1.269, allocations: 8.094 kB / 0.5824 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.27, allocations: 253 kB / 0.5826 GB, free: 87.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/1.273, allocations: 0.6542 MB / 0.5833 GB, free: 87.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/1.273, allocations: 39.41 kB / 0.5833 GB, free: 87.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.284, allocations: 7.139 MB / 0.5903 GB, free: 83.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.188e-06/1.284, allocations: 7.844 kB / 0.5903 GB, free: 83.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/1.291, allocations: 3.959 MB / 0.5941 GB, free: 81.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/1.293, allocations: 469.2 kB / 0.5946 GB, free: 80.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/1.293, allocations: 31.31 kB / 0.5946 GB, free: 80.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.295, allocations: 119.1 kB / 0.5947 GB, free: 80.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/1.295, allocations: 114.8 kB / 0.5948 GB, free: 80.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.295, allocations: 51.67 kB / 0.5949 GB, free: 80.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002312/1.297, allocations: 1.251 MB / 0.5961 GB, free: 80.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.67e-07/1.297, allocations: 2.812 kB / 0.5961 GB, free: 80.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002859/1.3, allocations: 0.6394 MB / 0.5967 GB, free: 80.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (112): * Single equations (assignments): 108 * 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,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007259/1.301, allocations: 345.8 kB / 0.5971 GB, free: 80.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004668/1.306, allocations: 2.424 MB / 0.5994 GB, free: 78.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.124e-06/1.306, allocations: 3.312 kB / 0.5994 GB, free: 78.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.309, allocations: 1.54 MB / 0.6009 GB, free: 78.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.311, allocations: 420.1 kB / 0.6013 GB, free: 78.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008172/1.32, allocations: 4.238 MB / 0.6055 GB, free: 74.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/1.322, allocations: 2.056 MB / 0.6075 GB, free: 72.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/1.322, allocations: 139 kB / 0.6076 GB, free: 72.61 MB / 442.7 MB Notification: Performance of SimCode: time 2.077e-06/1.322, allocations: 0 / 0.6076 GB, free: 72.61 MB / 442.7 MB Notification: Performance of Templates: time 0.06736/1.39, allocations: 56.27 MB / 0.6626 GB, free: 24.32 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorFunctions.cpp:255:12: note: '_omcQuot_24746D705661723131_' declared here double _omcQuot_24746D705661723131_; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorFunctions.cpp:292:12: note: '_omcQuot_24746D705661723134_' declared here double _omcQuot_24746D705661723134_; ^ 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o] Error 1