Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.679e-05, allocations: 0 / 258.8 MB, free: 8.68 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3427, allocations: 44.5 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03432/0.3771, allocations: 19.97 MB / 323.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.3959, allocations: 6.27 MB / 329.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004851/0.4008, allocations: 183.5 kB / 329.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006502/0.4073, allocations: 1.391 MB / 331.1 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.4191, allocations: 2.305 MB / 333.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006373/0.4255, allocations: 1.137 MB / 334.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02147/0.447, allocations: 8.369 MB / 342.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04554/0.4925, allocations: 15.3 MB / 358.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007861/0.5005, allocations: 3.114 MB / 361.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00848/0.509, allocations: 3.485 MB / 364.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00474/0.5138, allocations: 0.5817 MB / 365.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002625/0.5165, allocations: 312 kB / 365.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003426/0.52, allocations: 1.502 MB / 367.2 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003712/0.5237, allocations: 0.6953 MB / 367.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02933/0.5531, allocations: 18.95 MB / 386.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5532, allocations: 4 kB / 386.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5532, allocations: 0 / 386.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000565/0.5537, allocations: 0 / 386.9 MB, free: 9.895 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04641/0.6002, allocations: 10.5 MB / 397.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.6003, allocations: 8.031 kB / 397.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06265/0.6629, allocations: 7.077 MB / 404.5 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02013/0.6831, allocations: 6.104 MB / 410.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/0.6843, allocations: 0.7144 MB / 411.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004768/0.6891, allocations: 0.9296 MB / 412.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05924/0.7484, allocations: 16.07 MB / 428.3 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005526/0.749, allocations: 11.91 kB / 428.3 MB, free: 252 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.5848/1.334, allocations: 395 kB / 428.7 MB, free: 88.44 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/1.336, allocations: 0.5832 MB / 429.3 MB, free: 88.41 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04737/1.383, allocations: 15.41 MB / 444.7 MB, free: 83.18 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1366/1.52, allocations: 52.95 MB / 497.6 MB, free: 32.2 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04232/1.562, allocations: 35.48 MB / 0.5206 GB, free: 8.43 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03185/1.594, allocations: 10.26 MB / 0.5306 GB, free: 14.18 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/1.594, allocations: 68.94 kB / 0.5307 GB, free: 14.1 MB / 394.8 MB Notification: Performance of pre-optimization done (n=307): time 6.733e-06/1.594, allocations: 0 / 0.5307 GB, free: 14.1 MB / 394.8 MB Notification: Performance of matching and sorting (n=313): time 0.06232/1.656, allocations: 15.59 MB / 0.5459 GB, free: 14.3 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/1.657, allocations: 81.84 kB / 0.546 GB, free: 14.21 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009329/1.666, allocations: 3.424 MB / 0.5493 GB, free: 10.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000774/1.667, allocations: 77.7 kB / 0.5494 GB, free: 10.71 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004341/1.671, allocations: 4.136 MB / 0.5535 GB, free: 6.559 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001966/1.673, allocations: 1.081 MB / 0.5545 GB, free: 5.484 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006327/1.674, allocations: 112 kB / 0.5546 GB, free: 5.375 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0005257/1.674, allocations: 0.5342 MB / 0.5551 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00766/1.682, allocations: 2.599 MB / 0.5577 GB, free: 2.227 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.692, allocations: 4.937 MB / 0.5625 GB, free: 12.16 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.703, allocations: 3.734 MB / 0.5661 GB, free: 8.414 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.542e-05/1.703, allocations: 24 kB / 0.5662 GB, free: 8.391 MB / 426.8 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.32/2.023, allocations: 8.563 MB / 0.5745 GB, free: 131.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/2.023, allocations: 42.22 kB / 0.5746 GB, free: 131.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002448/2.023, allocations: 78.66 kB / 0.5746 GB, free: 131.8 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006586/2.03, allocations: 1.221 MB / 0.5758 GB, free: 131.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009039/2.039, allocations: 1.237 MB / 0.577 GB, free: 131.8 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/2.061, allocations: 9.393 MB / 0.5862 GB, free: 128 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006583/2.068, allocations: 338.4 kB / 0.5865 GB, free: 127.9 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/2.069, allocations: 288.8 kB / 0.5868 GB, free: 127.9 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (645): * Single equations (assignments): 640 * 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.008794/2.078, allocations: 3.718 MB / 0.5904 GB, free: 126.1 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/2.08, allocations: 381.5 kB / 0.5908 GB, free: 126.1 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/2.099, allocations: 5.932 MB / 0.5966 GB, free: 123.8 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01435/2.113, allocations: 4.871 MB / 0.6014 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.599e-05/2.113, allocations: 15.77 kB / 0.6014 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.044e-05/2.113, allocations: 12.7 kB / 0.6014 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03817/2.151, allocations: 13.91 MB / 0.615 GB, free: 116.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/2.152, allocations: 6.312 kB / 0.615 GB, free: 116.3 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005069/2.157, allocations: 0.5735 MB / 0.6155 GB, free: 116.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/2.162, allocations: 1.071 MB / 0.6166 GB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000743/2.163, allocations: 70 kB / 0.6167 GB, free: 115.7 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/2.182, allocations: 8.315 MB / 0.6248 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/2.182, allocations: 4 kB / 0.6248 GB, free: 107.4 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02358/2.206, allocations: 9.024 MB / 0.6336 GB, free: 98.46 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/2.209, allocations: 0.8944 MB / 0.6345 GB, free: 97.56 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/2.211, allocations: 68.05 kB / 0.6345 GB, free: 97.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004592/2.215, allocations: 191.7 kB / 0.6347 GB, free: 97.31 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.217, allocations: 230.6 kB / 0.6349 GB, free: 97.08 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000541/2.217, allocations: 95.98 kB / 0.635 GB, free: 96.99 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006672/2.224, allocations: 2.546 MB / 0.6375 GB, free: 94.46 MB / 426.8 MB Notification: Performance of sort global known variables: time 9.12e-07/2.224, allocations: 0 / 0.6375 GB, free: 94.46 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.008338/2.232, allocations: 1.552 MB / 0.639 GB, free: 92.91 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (289): * Single equations (assignments): 284 * 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,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/2.233, allocations: 245.1 kB / 0.6393 GB, free: 92.68 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01753/2.251, allocations: 6.633 MB / 0.6457 GB, free: 86.02 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/2.251, allocations: 4.125 kB / 0.6457 GB, free: 86.02 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00947/2.26, allocations: 3.048 MB / 0.6487 GB, free: 82.96 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007262/2.268, allocations: 0.8482 MB / 0.6495 GB, free: 82.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04509/2.313, allocations: 19.07 MB / 0.6682 GB, free: 62.96 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01296/2.326, allocations: 6.191 MB / 0.6742 GB, free: 56.73 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002602/2.329, allocations: 355.4 kB / 0.6745 GB, free: 56.38 MB / 426.8 MB Notification: Performance of SimCode: time 2.024e-06/2.329, allocations: 0 / 0.6745 GB, free: 56.38 MB / 426.8 MB Notification: Performance of Templates: time 0.5535/2.882, allocations: 150.2 MB / 0.8213 GB, free: 67.33 MB / 442.8 MB make -j1 -f Modelica_3.2.2_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_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.cpp:221:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp497 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.cpp:221:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp497 = 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_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o] Error 1