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 2.02/2.02, allocations: 194.9 MB / 211.2 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.279e-05, allocations: 7.984 kB / 258.8 MB, free: 8.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, 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_Conveyor): time 0.04684/0.3773, allocations: 27.03 MB / 330.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.4027, allocations: 8.262 MB / 338.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007033/0.4098, allocations: 255.2 kB / 338.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008446/0.4183, allocations: 1.83 MB / 340.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.4338, allocations: 3.057 MB / 343.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008575/0.4424, allocations: 1.491 MB / 345.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02616/0.4686, allocations: 9.705 MB / 354.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04452/0.5132, allocations: 14.98 MB / 369.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.5233, allocations: 3.683 MB / 373.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.534, allocations: 4.232 MB / 377.8 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006223/0.5403, allocations: 0.687 MB / 378.5 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003811/0.5441, allocations: 392 kB / 378.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005149/0.5493, allocations: 1.946 MB / 380.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004849/0.5543, allocations: 0.8711 MB / 381.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03528/0.5896, allocations: 21.22 MB / 402.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5897, allocations: 0 / 402.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.5897, allocations: 0 / 402.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007884/0.5905, allocations: 0 / 402.9 MB, free: 9.754 MB / 346.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.05565/0.6462, allocations: 12.13 MB / 415.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.6463, allocations: 8.031 kB / 415.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06826/0.7145, allocations: 7.645 MB / 422.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5621/1.277, allocations: 7.256 MB / 430 MB, free: 82.34 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/1.278, allocations: 0.8222 MB / 430.8 MB, free: 82.32 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005197/1.283, allocations: 1.088 MB / 431.9 MB, free: 82 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05692/1.34, allocations: 17.7 MB / 449.6 MB, free: 74.72 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006844/1.341, allocations: 18.53 kB / 449.6 MB, free: 74.71 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004216/1.345, allocations: 452.9 kB / 450 MB, free: 74.38 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009777/1.346, allocations: 0.675 MB / 450.7 MB, free: 74.24 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05121/1.398, allocations: 16.98 MB / 467.7 MB, free: 59.52 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1338/1.531, allocations: 56.91 MB / 0.5123 GB, free: 2.109 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05474/1.586, allocations: 42.32 MB / 0.5536 GB, free: 3.461 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04442/1.631, allocations: 13.32 MB / 0.5666 GB, free: 6.164 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009666/1.64, allocations: 3.123 MB / 0.5697 GB, free: 2.977 MB / 426.8 MB Notification: Performance of pre-optimization done (n=442): time 1.026e-05/1.64, allocations: 0 / 0.5697 GB, free: 2.977 MB / 426.8 MB Notification: Performance of matching and sorting (n=460): time 0.3874/2.028, allocations: 23.68 MB / 0.5928 GB, free: 149.1 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/2.028, allocations: 410.2 kB / 0.5932 GB, free: 148.6 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/2.038, allocations: 4.116 MB / 0.5972 GB, free: 147.1 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000929/2.039, allocations: 105.1 kB / 0.5973 GB, free: 147 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004812/2.044, allocations: 4.644 MB / 0.6019 GB, free: 143.7 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002371/2.047, allocations: 1.578 MB / 0.6034 GB, free: 142.5 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000816/2.047, allocations: 128.7 kB / 0.6035 GB, free: 142.4 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0005389/2.048, allocations: 0.5606 MB / 0.6041 GB, free: 141.9 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007919/2.056, allocations: 2.913 MB / 0.6069 GB, free: 140.8 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009934/2.066, allocations: 5.302 MB / 0.6121 GB, free: 136.6 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/2.076, allocations: 4.048 MB / 0.6161 GB, free: 134.8 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.733e-05/2.077, allocations: 22.53 kB / 0.6161 GB, free: 134.8 MB / 442.8 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02959/2.106, allocations: 9.716 MB / 0.6256 GB, free: 130.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/2.106, allocations: 67.81 kB / 0.6256 GB, free: 130.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/2.106, allocations: 73.75 kB / 0.6257 GB, free: 130.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/2.113, allocations: 1.521 MB / 0.6272 GB, free: 130.4 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/2.124, allocations: 1.416 MB / 0.6286 GB, free: 130.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04133/2.165, allocations: 16.66 MB / 0.6448 GB, free: 117.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/2.177, allocations: 379.4 kB / 0.6452 GB, free: 116.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/2.178, allocations: 303.6 kB / 0.6455 GB, free: 116.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * 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 (734): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 4,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01282/2.191, allocations: 3.951 MB / 0.6494 GB, free: 112.6 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/2.193, allocations: 0.5132 MB / 0.6499 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02559/2.219, allocations: 8.055 MB / 0.6577 GB, free: 103.9 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.88e-05/2.219, allocations: 44 kB / 0.6578 GB, free: 103.9 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.584e-05/2.219, allocations: 20 kB / 0.6578 GB, free: 103.9 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001511/2.219, allocations: 27.91 kB / 0.6578 GB, free: 103.8 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04967/2.269, allocations: 17.66 MB / 0.6751 GB, free: 86.11 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.098e-05/2.269, allocations: 4 kB / 0.6751 GB, free: 86.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006863/2.276, allocations: 0.7762 MB / 0.6758 GB, free: 85.32 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007083/2.283, allocations: 1.543 MB / 0.6773 GB, free: 83.76 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/2.284, allocations: 116 kB / 0.6774 GB, free: 83.65 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03284/2.317, allocations: 19.93 MB / 0.6969 GB, free: 62.8 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/2.317, allocations: 7.938 kB / 0.6969 GB, free: 62.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02972/2.347, allocations: 12.13 MB / 0.7088 GB, free: 50.37 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004171/2.351, allocations: 1.178 MB / 0.7099 GB, free: 49.16 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/2.353, allocations: 96 kB / 0.71 GB, free: 49.07 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005618/2.359, allocations: 243.8 kB / 0.7102 GB, free: 48.83 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/2.361, allocations: 347.7 kB / 0.7106 GB, free: 48.49 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005614/2.361, allocations: 136 kB / 0.7107 GB, free: 48.36 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.007536/2.369, allocations: 3.107 MB / 0.7137 GB, free: 45.26 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.82e-07/2.369, allocations: 0 / 0.7137 GB, free: 45.26 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01068/2.379, allocations: 1.931 MB / 0.7156 GB, free: 43.33 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,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 (404): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00211/2.382, allocations: 0.5167 MB / 0.7161 GB, free: 42.86 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02201/2.404, allocations: 8.355 MB / 0.7243 GB, free: 34.43 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.404, allocations: 0 / 0.7243 GB, free: 34.43 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01351/2.417, allocations: 4.711 MB / 0.7289 GB, free: 29.64 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009751/2.427, allocations: 1.205 MB / 0.7301 GB, free: 28.43 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3575/2.785, allocations: 23.42 MB / 0.7529 GB, free: 132.7 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01907/2.804, allocations: 6.899 MB / 0.7597 GB, free: 131.8 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004003/2.808, allocations: 455 kB / 0.7601 GB, free: 131.8 MB / 442.8 MB Notification: Performance of SimCode: time 1.663e-06/2.808, allocations: 0 / 0.7601 GB, free: 131.8 MB / 442.8 MB Notification: Performance of Templates: time 1.682/4.49, allocations: 499.5 MB / 1.248 GB, free: 141.5 MB / 458.8 MB 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 -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_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:29: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorFunctions.cpp:173:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp607 = 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:173:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp607 = 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:30: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorInitialize.cpp:3089:46: 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:3092:16: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp24 = 1.797693134862316e+308; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:36: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.cpp:631: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:634:16: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp505 = 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