Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.666e-05/4.689e-05, allocations: 1.562 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09482, allocations: 50.43 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.5583, allocations: 115.3 MB / 457.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.5585, allocations: 86.11 kB / 457.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6153/1.174, allocations: 86.31 MB / 0.5315 GB, free: 105.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.331e-06/1.174, allocations: 0 / 0.5315 GB, free: 105.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002625/1.174, allocations: 79 kB / 0.5316 GB, free: 105.9 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.007857/1.182, allocations: 2.806 MB / 0.5343 GB, free: 104.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.182, allocations: 9.25 kB / 0.5343 GB, free: 104.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/1.184, allocations: 445 kB / 0.5347 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/1.19, allocations: 1.949 MB / 0.5366 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/1.19, allocations: 209.9 kB / 0.5368 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007748/1.191, allocations: 265 kB / 0.5371 GB, free: 104.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007971/1.199, allocations: 3.369 MB / 0.5404 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.293e-05/1.199, allocations: 10.64 kB / 0.5404 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003923/1.199, allocations: 116.1 kB / 0.5405 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/1.199, allocations: 113.3 kB / 0.5406 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006535/1.206, allocations: 2.659 MB / 0.5432 GB, free: 103.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02185/1.228, allocations: 11.24 MB / 0.5542 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/1.231, allocations: 2.241 MB / 0.5564 GB, free: 99.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/1.233, allocations: 0.9794 MB / 0.5573 GB, free: 99.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/1.233, allocations: 225.3 kB / 0.5575 GB, free: 99.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/1.233, allocations: 49.28 kB / 0.5576 GB, free: 99.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 5.107e-06/1.233, allocations: 0 / 0.5576 GB, free: 99.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=158): time 0.019/1.252, allocations: 7.198 MB / 0.5646 GB, free: 97.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.252, allocations: 70.81 kB / 0.5647 GB, free: 97.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/1.256, allocations: 1.718 MB / 0.5664 GB, free: 96.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002875/1.256, allocations: 55.77 kB / 0.5664 GB, free: 96.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006847/1.257, allocations: 1.225 MB / 0.5676 GB, free: 95.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/1.257, allocations: 0.5392 MB / 0.5681 GB, free: 95.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/1.257, allocations: 35.88 kB / 0.5682 GB, free: 95.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/1.258, allocations: 383.1 kB / 0.5685 GB, free: 95.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/1.259, allocations: 0.8799 MB / 0.5694 GB, free: 94.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/1.261, allocations: 1.327 MB / 0.5707 GB, free: 93.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/1.263, allocations: 1.087 MB / 0.5718 GB, free: 93.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/1.263, allocations: 3.906 kB / 0.5718 GB, free: 93.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005742/1.269, allocations: 2.866 MB / 0.5746 GB, free: 92.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.269, allocations: 11.56 kB / 0.5746 GB, free: 92.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/1.269, allocations: 15.53 kB / 0.5746 GB, free: 92.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/1.271, allocations: 0.6274 MB / 0.5752 GB, free: 92.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/1.273, allocations: 438.1 kB / 0.5756 GB, free: 92.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008951/1.282, allocations: 5.718 MB / 0.5812 GB, free: 89.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.285, allocations: 136.1 kB / 0.5813 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/1.285, allocations: 78.66 kB / 0.5814 GB, free: 89.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 193 * 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%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004133/1.285, allocations: 203.6 kB / 0.5816 GB, free: 88.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/1.286, allocations: 210.7 kB / 0.5818 GB, free: 88.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/1.292, allocations: 2.72 MB / 0.5845 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/1.292, allocations: 19.12 kB / 0.5845 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.292, allocations: 14.12 kB / 0.5845 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/1.292, allocations: 7.406 kB / 0.5845 GB, free: 87.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/1.304, allocations: 5.762 MB / 0.5901 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.721e-05/1.304, allocations: 3.219 kB / 0.5901 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.306, allocations: 281.7 kB / 0.5904 GB, free: 85.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.308, allocations: 0.6941 MB / 0.5911 GB, free: 85.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/1.308, allocations: 39.8 kB / 0.5911 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/1.319, allocations: 7.422 MB / 0.5984 GB, free: 80.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.09e-06/1.319, allocations: 11.48 kB / 0.5984 GB, free: 80.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007584/1.327, allocations: 4.131 MB / 0.6024 GB, free: 78.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.328, allocations: 0.4918 MB / 0.6029 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006274/1.329, allocations: 39.95 kB / 0.6029 GB, free: 78.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/1.331, allocations: 116.2 kB / 0.603 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/1.331, allocations: 129.5 kB / 0.6032 GB, free: 78.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.331, allocations: 47.75 kB / 0.6032 GB, free: 78.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002426/1.334, allocations: 1.313 MB / 0.6045 GB, free: 76.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.65e-07/1.334, allocations: 0 / 0.6045 GB, free: 76.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002912/1.336, allocations: 0.6792 MB / 0.6052 GB, free: 76.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 118 * 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%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006835/1.337, allocations: 343.5 kB / 0.6055 GB, free: 75.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004809/1.342, allocations: 2.615 MB / 0.608 GB, free: 73.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.088e-06/1.342, allocations: 4.062 kB / 0.608 GB, free: 73.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.345, allocations: 1.643 MB / 0.6096 GB, free: 72.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.348, allocations: 464.9 kB / 0.6101 GB, free: 71.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.358, allocations: 4.685 MB / 0.6147 GB, free: 67.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/1.361, allocations: 2.177 MB / 0.6168 GB, free: 65.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009023/1.362, allocations: 146.9 kB / 0.6169 GB, free: 65.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.571e-06/1.362, allocations: 0 / 0.6169 GB, free: 65.68 MB / 442.7 MB Notification: Performance of Templates: time 0.07551/1.437, allocations: 60.41 MB / 0.6759 GB, free: 10.99 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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_DOLCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLFunctions.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_DOLFunctions.cpp:255:12: note: '_omcQuot_24746D705661723131_' declared here double _omcQuot_24746D705661723131_; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLFunctions.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_DOLFunctions.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_DOLCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOLCalcHelperMain.o] Error 1