Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.882e-05, allocations: 6.922 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07811/0.07816, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.4831, allocations: 145 MB / 444.9 MB, free: 3.184 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.4835, allocations: 103.6 kB / 445 MB, free: 3.129 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 1.534/2.017, allocations: 357.9 MB / 0.784 GB, free: 21.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.232e-06/2.017, allocations: 0 / 0.784 GB, free: 21.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000828/2.018, allocations: 259.6 kB / 0.7843 GB, free: 21.28 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.04442/2.062, allocations: 10.52 MB / 0.7946 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/2.063, allocations: 16.03 kB / 0.7946 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04273/2.105, allocations: 5.394 MB / 0.7999 GB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03201/2.137, allocations: 9.444 MB / 0.8091 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001404/2.139, allocations: 0.8145 MB / 0.8099 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005445/2.144, allocations: 1.062 MB / 0.8109 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3455/2.49, allocations: 17.91 MB / 0.8284 GB, free: 36.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006064/2.49, allocations: 23.7 kB / 0.8284 GB, free: 36.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004352/2.495, allocations: 464.5 kB / 0.8289 GB, free: 36.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/2.496, allocations: 0.7427 MB / 0.8296 GB, free: 36.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04425/2.54, allocations: 16.55 MB / 0.8458 GB, free: 36.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1305/2.671, allocations: 58.11 MB / 0.9025 GB, free: 19.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02933/2.7, allocations: 26.01 MB / 0.9279 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01583/2.716, allocations: 7.067 MB / 0.9348 GB, free: 12.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0582/2.774, allocations: 22.42 MB / 0.9567 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01342/2.788, allocations: 5.417 MB / 0.962 GB, free: 15.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=696): time 1.646e-05/2.788, allocations: 1.969 kB / 0.962 GB, free: 15.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=714): time 0.09922/2.887, allocations: 29.7 MB / 0.991 GB, free: 8.133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000322/2.888, allocations: 428.8 kB / 0.9914 GB, free: 7.629 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009864/2.897, allocations: 3.461 MB / 0.9948 GB, free: 4.484 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001517/2.899, allocations: 129.7 kB / 0.9949 GB, free: 4.352 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006024/2.905, allocations: 4.087 MB / 0.9989 GB, free: 0.668 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3511/3.256, allocations: 2.38 MB / 1.001 GB, free: 86.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/3.258, allocations: 137.6 kB / 1.001 GB, free: 86.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009757/3.259, allocations: 0.61 MB / 1.002 GB, free: 85.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01884/3.278, allocations: 4.385 MB / 1.006 GB, free: 85.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02338/3.301, allocations: 6.104 MB / 1.012 GB, free: 83.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02285/3.324, allocations: 5.454 MB / 1.018 GB, free: 83.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/3.324, allocations: 13.09 kB / 1.018 GB, free: 83.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.03502/3.359, allocations: 13.45 MB / 1.031 GB, free: 83.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/3.359, allocations: 57.48 kB / 1.031 GB, free: 83.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.88e-05/3.359, allocations: 45.22 kB / 1.031 GB, free: 83.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/3.37, allocations: 3.854 MB / 1.035 GB, free: 83.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007487/3.377, allocations: 1.299 MB / 1.036 GB, free: 83.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02099/3.398, allocations: 16.62 MB / 1.052 GB, free: 75.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007073/3.405, allocations: 371.5 kB / 1.052 GB, free: 75.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/3.407, allocations: 303.7 kB / 1.053 GB, free: 75.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 643 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 4 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of prepare postOptimizeDAE: time 0.002057/3.409, allocations: 0.4926 MB / 1.053 GB, free: 75.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/3.411, allocations: 0.5356 MB / 1.054 GB, free: 75.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03456/3.445, allocations: 13.31 MB / 1.067 GB, free: 74.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002339/3.446, allocations: 158.5 kB / 1.067 GB, free: 74.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.282e-05/3.446, allocations: 7.031 kB / 1.067 GB, free: 74.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001357/3.446, allocations: 33.8 kB / 1.067 GB, free: 74.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06318/3.509, allocations: 26.76 MB / 1.093 GB, free: 63.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-05/3.509, allocations: 11.73 kB / 1.093 GB, free: 63.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0059/3.515, allocations: 0.8734 MB / 1.094 GB, free: 63.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/3.527, allocations: 3.931 MB / 1.098 GB, free: 62.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001663/3.528, allocations: 167.1 kB / 1.098 GB, free: 62.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/3.554, allocations: 20.78 MB / 1.118 GB, free: 46.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/3.554, allocations: 0 / 1.118 GB, free: 46.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0435/3.598, allocations: 19.73 MB / 1.137 GB, free: 29.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005576/3.603, allocations: 1.648 MB / 1.139 GB, free: 28.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002711/3.606, allocations: 119.2 kB / 1.139 GB, free: 28.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005974/3.612, allocations: 300.2 kB / 1.139 GB, free: 27.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002314/3.615, allocations: 0.5119 MB / 1.14 GB, free: 27.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001629/3.616, allocations: 192.6 kB / 1.14 GB, free: 27.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006845/3.623, allocations: 2.635 MB / 1.143 GB, free: 25.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.234e-06/3.623, allocations: 1.969 kB / 1.143 GB, free: 25.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01122/3.634, allocations: 2.026 MB / 1.145 GB, free: 23.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (476): * Single equations (assignments): 432 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.003531/3.638, allocations: 0.9488 MB / 1.146 GB, free: 22.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02618/3.664, allocations: 11.68 MB / 1.157 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.426e-06/3.664, allocations: 7.344 kB / 1.157 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01533/3.68, allocations: 6.6 MB / 1.163 GB, free: 5.793 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008331/3.688, allocations: 1.188 MB / 1.165 GB, free: 4.859 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3601/4.048, allocations: 20.72 MB / 1.185 GB, free: 84.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01682/4.065, allocations: 6.974 MB / 1.192 GB, free: 83.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003018/4.068, allocations: 443.5 kB / 1.192 GB, free: 83.41 MB / 474.7 MB Notification: Performance of SimCode: time 2.767e-06/4.068, allocations: 6.156 kB / 1.192 GB, free: 83.4 MB / 474.7 MB Notification: Performance of Templates: time 2.718/6.786, allocations: 0.9594 GB / 2.152 GB, free: 52.62 MB / 0.4948 GB make -j1 -f Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorFunctions.cpp:578:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp236 = 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_ConveyorFunctions.cpp:578:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp236 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorInitialize.cpp:2973:43: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_dutyCycle_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorInitialize.cpp:2976:14: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp305 = 1.797693134862316e+308; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:33: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.cpp:534:45: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_dutyCycle_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.cpp:537:14: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp7 = 1.797693134862316e+308; ^ 4 warnings and 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1