Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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.76/1.76, allocations: 194.9 MB / 211.7 MB, free: 2.973 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 8 kB / 264 MB, free: 13.53 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07925, allocations: 44.5 MB / 308.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4137/0.493, allocations: 145.1 MB / 453.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.4933, allocations: 102.9 kB / 453.7 MB, free: 12.35 MB / 346.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.624/2.118, allocations: 358.1 MB / 0.7927 GB, free: 50.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.766e-06/2.118, allocations: 0 / 0.7927 GB, free: 50.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008315/2.119, allocations: 258.3 kB / 0.793 GB, free: 50.16 MB / 426.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.04403/2.163, allocations: 11.19 MB / 0.8039 GB, free: 45.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/2.163, allocations: 11.19 kB / 0.8039 GB, free: 45.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03923/2.202, allocations: 5.433 MB / 0.8092 GB, free: 41.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02715/2.229, allocations: 9.477 MB / 0.8185 GB, free: 32.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/2.23, allocations: 0.8184 MB / 0.8193 GB, free: 31.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004661/2.235, allocations: 1.066 MB / 0.8203 GB, free: 30.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05311/2.288, allocations: 18.13 MB / 0.838 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005479/2.289, allocations: 22.89 kB / 0.838 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004416/2.293, allocations: 460 kB / 0.8385 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/2.294, allocations: 0.7488 MB / 0.8392 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3439/2.638, allocations: 16.83 MB / 0.8556 GB, free: 45.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1298/2.768, allocations: 58.11 MB / 0.9124 GB, free: 32.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02915/2.797, allocations: 26.18 MB / 0.938 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05355/2.851, allocations: 22.55 MB / 0.96 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01406/2.865, allocations: 5.569 MB / 0.9654 GB, free: 15.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=706): time 1.541e-05/2.865, allocations: 0 / 0.9654 GB, free: 15.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=724): time 0.1512/3.016, allocations: 44.71 MB / 1.009 GB, free: 8.211 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003242/3.017, allocations: 428.9 kB / 1.009 GB, free: 7.703 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009917/3.027, allocations: 3.499 MB / 1.013 GB, free: 4.691 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00158/3.028, allocations: 129.7 kB / 1.013 GB, free: 4.559 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006041/3.034, allocations: 4.061 MB / 1.017 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3109/3.345, allocations: 2.422 MB / 1.019 GB, free: 78.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/3.347, allocations: 134 kB / 1.019 GB, free: 78.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008653/3.348, allocations: 0.6091 MB / 1.02 GB, free: 78.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01088/3.359, allocations: 4.5 MB / 1.024 GB, free: 78.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/3.372, allocations: 6.21 MB / 1.031 GB, free: 76.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/3.385, allocations: 5.551 MB / 1.036 GB, free: 76.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/3.385, allocations: 13.69 kB / 1.036 GB, free: 76.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=952) (initialization): time 0.03463/3.42, allocations: 13.44 MB / 1.049 GB, free: 75.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/3.42, allocations: 52.64 kB / 1.049 GB, free: 75.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/3.42, allocations: 50.97 kB / 1.049 GB, free: 75.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/3.431, allocations: 3.852 MB / 1.053 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007418/3.439, allocations: 1.323 MB / 1.054 GB, free: 75.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/3.461, allocations: 16.76 MB / 1.071 GB, free: 68.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006956/3.468, allocations: 375.5 kB / 1.071 GB, free: 68.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/3.47, allocations: 306.1 kB / 1.071 GB, free: 68.06 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 200 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 651 * 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.01085/3.481, allocations: 3.947 MB / 1.075 GB, free: 67.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002047/3.483, allocations: 0.5475 MB / 1.076 GB, free: 67.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03523/3.518, allocations: 13.62 MB / 1.089 GB, free: 61.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002081/3.518, allocations: 156.3 kB / 1.089 GB, free: 61.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-05/3.518, allocations: 7.5 kB / 1.089 GB, free: 61.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001387/3.519, allocations: 37.64 kB / 1.089 GB, free: 61.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06507/3.584, allocations: 27.1 MB / 1.116 GB, free: 49.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.001e-05/3.584, allocations: 3.594 kB / 1.116 GB, free: 49.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0059/3.59, allocations: 0.8971 MB / 1.116 GB, free: 49.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01124/3.601, allocations: 3.995 MB / 1.12 GB, free: 48.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001645/3.603, allocations: 163.5 kB / 1.121 GB, free: 48.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/3.629, allocations: 21.01 MB / 1.141 GB, free: 31.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/3.629, allocations: 8 kB / 1.141 GB, free: 31.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04419/3.673, allocations: 20.03 MB / 1.161 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005502/3.679, allocations: 1.663 MB / 1.162 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002679/3.682, allocations: 118.7 kB / 1.162 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005734/3.687, allocations: 297.2 kB / 1.163 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002266/3.69, allocations: 0.5197 MB / 1.163 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001494/3.691, allocations: 203.3 kB / 1.163 GB, free: 11.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006669/3.698, allocations: 2.669 MB / 1.166 GB, free: 8.957 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.532e-06/3.698, allocations: 4.406 kB / 1.166 GB, free: 8.957 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01157/3.71, allocations: 2.039 MB / 1.168 GB, free: 6.941 MB / 458.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (486): * Single equations (assignments): 442 * 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%) 8,(1,100.0%) 3,(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.003536/3.713, allocations: 0.8498 MB / 1.169 GB, free: 6.383 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04186/3.755, allocations: 12.69 MB / 1.181 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/3.755, allocations: 11.75 kB / 1.181 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0185/3.774, allocations: 6.758 MB / 1.188 GB, free: 7.832 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008652/3.782, allocations: 1.189 MB / 1.189 GB, free: 6.891 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3637/4.146, allocations: 27.52 MB / 1.216 GB, free: 82.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0158/4.162, allocations: 6.975 MB / 1.223 GB, free: 81.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/4.165, allocations: 454.2 kB / 1.223 GB, free: 81.86 MB / 474.7 MB Notification: Performance of SimCode: time 1.988e-06/4.165, allocations: 0 / 1.223 GB, free: 81.86 MB / 474.7 MB Notification: Performance of Templates: time 2.727/6.892, allocations: 0.9598 GB / 2.183 GB, free: 23.12 MB / 490.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile b'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\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorFunctions.cpp:578:43: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp236 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0)));\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorFunctions.cpp:578:86: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp236 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0)));\n ^\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorInitialize.cpp:3053:43: warning: magnitude of floating-point constant too large for type \'double\'; maximum is 1.7976931348623157E+308 [-Wliteral-range]\n if (_dutyCycle_P_nextTimeEventScaled_ < 1.797693134862316e+308) {\n ^\n./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorInitialize.cpp:3056:14: warning: magnitude of floating-point constant too large for type \'double\'; maximum is 1.7976931348623157E+308 [-Wliteral-range]\n tmp305 = 1.797693134862316e+308;\n ^\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.cpp:33:\n./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]\n if (_dutyCycle_P_nextTimeEventScaled_ < 1.797693134862316e+308) {\n ^\n./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]\n tmp7 = 1.797693134862316e+308;\n ^\n4 warnings and 2 errors generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_ConveyorCalcHelperMain.o] Error 1\n'