Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadModel(Modelica): time 2.235/2.235, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.574e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 50.42 MB / 345 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03314/0.1438, allocations: 19.15 MB / 364.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01818/0.1621, allocations: 6.308 MB / 370.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005013/0.1671, allocations: 195.5 kB / 370.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00655/0.1737, allocations: 1.372 MB / 372 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.1853, allocations: 2.266 MB / 374.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006034/0.1914, allocations: 1.145 MB / 375.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02115/0.2126, allocations: 8.317 MB / 383.8 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04388/0.2565, allocations: 15.29 MB / 399 MB, free: 2.688 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3114/0.568, allocations: 3.061 MB / 402.1 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009222/0.5773, allocations: 3.437 MB / 405.5 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006059/0.5834, allocations: 0.5862 MB / 406.1 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003552/0.587, allocations: 311.1 kB / 406.4 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004511/0.5915, allocations: 1.455 MB / 407.9 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004877/0.5965, allocations: 0.6875 MB / 408.6 MB, free: 16.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02569/0.6222, allocations: 18.95 MB / 427.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6222, allocations: 0 / 427.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6223, allocations: 0 / 427.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006559/0.6229, allocations: 0 / 427.5 MB, free: 7.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.06358/0.6865, allocations: 10.38 MB / 437.9 MB, free: 2.156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.6866, allocations: 9.844 kB / 437.9 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0898/0.7764, allocations: 6.089 MB / 444 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02122/0.7977, allocations: 6.667 MB / 450.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/0.7988, allocations: 0.6947 MB / 451.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005112/0.8039, allocations: 0.9207 MB / 452.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05837/0.8623, allocations: 15.61 MB / 467.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004731/0.8629, allocations: 15.81 kB / 467.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004224/0.8671, allocations: 387.6 kB / 468.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009675/0.8681, allocations: 0.5547 MB / 468.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05027/0.9184, allocations: 14.71 MB / 483.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1568/1.075, allocations: 51.69 MB / 0.5227 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04053/1.116, allocations: 26.46 MB / 0.5485 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008372/1.117, allocations: 164.1 kB / 0.5487 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.288e-05/1.117, allocations: 81.66 kB / 0.5488 GB, free: 12.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=404): time 8.005e-06/1.117, allocations: 0 / 0.5488 GB, free: 12.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=410): time 0.3884/1.505, allocations: 17.63 MB / 0.566 GB, free: 144.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/1.505, allocations: 97.62 kB / 0.5661 GB, free: 144.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009763/1.515, allocations: 3.272 MB / 0.5693 GB, free: 143.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007975/1.516, allocations: 92.23 kB / 0.5694 GB, free: 143.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003305/1.519, allocations: 3.857 MB / 0.5731 GB, free: 140.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002086/1.522, allocations: 1.397 MB / 0.5745 GB, free: 139.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006654/1.522, allocations: 116.1 kB / 0.5746 GB, free: 139.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004972/1.523, allocations: 0.5472 MB / 0.5751 GB, free: 138.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007982/1.531, allocations: 2.835 MB / 0.5779 GB, free: 137.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009193/1.54, allocations: 4.97 MB / 0.5828 GB, free: 134 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009568/1.55, allocations: 3.98 MB / 0.5866 GB, free: 132.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.071e-05/1.55, allocations: 19.53 kB / 0.5867 GB, free: 132.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02506/1.575, allocations: 8.993 MB / 0.5954 GB, free: 128.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/1.575, allocations: 33.94 kB / 0.5955 GB, free: 128.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/1.575, allocations: 71.16 kB / 0.5955 GB, free: 128.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005365/1.58, allocations: 1.207 MB / 0.5967 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009198/1.59, allocations: 1.323 MB / 0.598 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02181/1.612, allocations: 9.365 MB / 0.6072 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007497/1.619, allocations: 340.8 kB / 0.6075 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.621, allocations: 287.7 kB / 0.6078 GB, free: 121.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009757/1.63, allocations: 3.692 MB / 0.6114 GB, free: 118.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.632, allocations: 399 kB / 0.6117 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/1.652, allocations: 6.782 MB / 0.6184 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01577/1.668, allocations: 5.681 MB / 0.6239 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.642e-05/1.668, allocations: 11.98 kB / 0.6239 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001145/1.668, allocations: 23.91 kB / 0.624 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04583/1.714, allocations: 16.19 MB / 0.6398 GB, free: 90.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/1.714, allocations: 9.25 kB / 0.6398 GB, free: 90.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005999/1.72, allocations: 0.7216 MB / 0.6405 GB, free: 89.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005103/1.725, allocations: 1.078 MB / 0.6415 GB, free: 88.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009023/1.726, allocations: 91.97 kB / 0.6416 GB, free: 88.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/1.745, allocations: 8.319 MB / 0.6497 GB, free: 80.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.745, allocations: 4 kB / 0.6497 GB, free: 80.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/1.771, allocations: 10.43 MB / 0.6599 GB, free: 69.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003682/1.775, allocations: 0.9761 MB / 0.6609 GB, free: 68.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/1.776, allocations: 77.44 kB / 0.661 GB, free: 68.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004683/1.781, allocations: 207.9 kB / 0.6612 GB, free: 68.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/1.782, allocations: 287.3 kB / 0.6614 GB, free: 67.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003996/1.783, allocations: 128 kB / 0.6616 GB, free: 67.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006139/1.789, allocations: 2.448 MB / 0.6639 GB, free: 65.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.643e-06/1.789, allocations: 0 / 0.6639 GB, free: 65.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009627/1.799, allocations: 1.616 MB / 0.6655 GB, free: 63.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/1.8, allocations: 285.6 kB / 0.6658 GB, free: 63.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01901/1.819, allocations: 7.21 MB / 0.6728 GB, free: 56.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.819, allocations: 0 / 0.6728 GB, free: 56.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01023/1.829, allocations: 3.429 MB / 0.6762 GB, free: 52.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007679/1.837, allocations: 0.8596 MB / 0.677 GB, free: 51.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04826/1.885, allocations: 19.39 MB / 0.696 GB, free: 32.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/1.898, allocations: 6.147 MB / 0.702 GB, free: 26.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/1.901, allocations: 387.4 kB / 0.7023 GB, free: 25.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.914e-06/1.901, allocations: 0 / 0.7023 GB, free: 25.92 MB / 458.7 MB Notification: Performance of Templates: time 0.6094/2.511, allocations: 151.1 MB / 0.8499 GB, free: 41.49 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.cpp:221:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp492 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.cpp:221:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp492 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o] Error 1