Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.928e-05, allocations: 0 / 321.5 MB, free: 17.81 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 47.58 MB / 369.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5047/0.6052, allocations: 130.7 MB / 499.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.6057, allocations: 106.4 kB / 500 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185/2.79, allocations: 379.4 MB / 0.8588 GB, free: 32.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.495e-06/2.79, allocations: 0 / 0.8588 GB, free: 32.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009944/2.791, allocations: 241 kB / 0.859 GB, free: 32.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05599/2.847, allocations: 10.27 MB / 0.869 GB, free: 30.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/2.847, allocations: 10.62 kB / 0.869 GB, free: 30.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05518/2.903, allocations: 6.287 MB / 0.8752 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03219/2.935, allocations: 8.743 MB / 0.8837 GB, free: 29.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001462/2.936, allocations: 0.7965 MB / 0.8845 GB, free: 29.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00596/2.942, allocations: 1.028 MB / 0.8855 GB, free: 29.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06496/3.007, allocations: 19.03 MB / 0.9041 GB, free: 27.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006098/3.008, allocations: 14.02 kB / 0.9041 GB, free: 27.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004895/3.013, allocations: 458.8 kB / 0.9045 GB, free: 27.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001386/3.014, allocations: 0.8172 MB / 0.9053 GB, free: 27.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05297/3.067, allocations: 17.83 MB / 0.9228 GB, free: 27.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1594/3.227, allocations: 61.28 MB / 0.9826 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05533/3.282, allocations: 25.69 MB / 1.008 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02321/3.305, allocations: 8.319 MB / 1.016 GB, free: 5.477 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4582/3.764, allocations: 26.73 MB / 1.042 GB, free: 62.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/3.764, allocations: 106.9 kB / 1.042 GB, free: 62.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=832): time 1.466e-05/3.764, allocations: 3.281 kB / 1.042 GB, free: 62.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=838): time 0.08725/3.851, allocations: 27.89 MB / 1.069 GB, free: 60.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/3.851, allocations: 127.2 kB / 1.069 GB, free: 60.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006606/3.858, allocations: 2.67 MB / 1.072 GB, free: 60.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002036/3.86, allocations: 138.1 kB / 1.072 GB, free: 60.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002817/3.863, allocations: 3.717 MB / 1.076 GB, free: 58.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005123/3.868, allocations: 2.756 MB / 1.078 GB, free: 56.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002077/3.87, allocations: 140.8 kB / 1.079 GB, free: 56.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001075/3.871, allocations: 0.6446 MB / 1.079 GB, free: 56.19 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01461/3.886, allocations: 5.486 MB / 1.085 GB, free: 56.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01666/3.903, allocations: 6.954 MB / 1.091 GB, free: 54.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/3.921, allocations: 6.642 MB / 1.098 GB, free: 53.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.311e-05/3.921, allocations: 11.06 kB / 1.098 GB, free: 53.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.04788/3.969, allocations: 15.91 MB / 1.113 GB, free: 47.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/3.969, allocations: 20.31 kB / 1.113 GB, free: 47.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/3.969, allocations: 39.47 kB / 1.113 GB, free: 47.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01597/3.985, allocations: 4.984 MB / 1.118 GB, free: 46.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/3.996, allocations: 1.342 MB / 1.12 GB, free: 46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02348/4.02, allocations: 12.33 MB / 1.132 GB, free: 38.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009691/4.03, allocations: 429.5 kB / 1.132 GB, free: 38.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002643/4.032, allocations: 317.4 kB / 1.132 GB, free: 38.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.004519/4.037, allocations: 495.3 kB / 1.133 GB, free: 38.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00313/4.04, allocations: 0.4908 MB / 1.133 GB, free: 38.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04947/4.09, allocations: 15.92 MB / 1.149 GB, free: 28.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03961/4.129, allocations: 14.11 MB / 1.163 GB, free: 16.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.778e-05/4.129, allocations: 5.734 kB / 1.163 GB, free: 16.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001749/4.129, allocations: 36.09 kB / 1.163 GB, free: 16.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1/4.229, allocations: 31.24 MB / 1.193 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001297/4.23, allocations: 0 / 1.193 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01298/4.243, allocations: 1.394 MB / 1.195 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4129/4.656, allocations: 4.806 MB / 1.199 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002489/4.658, allocations: 175.6 kB / 1.199 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/4.683, allocations: 12.16 MB / 1.211 GB, free: 74.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/4.683, allocations: 9.312 kB / 1.211 GB, free: 74.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06605/4.749, allocations: 23.53 MB / 1.234 GB, free: 73.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007684/4.757, allocations: 1.803 MB / 1.236 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003623/4.761, allocations: 122.9 kB / 1.236 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008519/4.769, allocations: 373.2 kB / 1.237 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003543/4.773, allocations: 0.5888 MB / 1.237 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002447/4.775, allocations: 224.4 kB / 1.237 GB, free: 73.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005895/4.781, allocations: 2.018 MB / 1.239 GB, free: 73.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.423e-06/4.781, allocations: 3.094 kB / 1.239 GB, free: 73.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01349/4.795, allocations: 1.99 MB / 1.241 GB, free: 73.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.003526/4.798, allocations: 0.6534 MB / 1.242 GB, free: 73.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03921/4.838, allocations: 13.41 MB / 1.255 GB, free: 73.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/4.838, allocations: 1.219 kB / 1.255 GB, free: 73.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02275/4.861, allocations: 6.985 MB / 1.262 GB, free: 72.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/4.871, allocations: 0.9732 MB / 1.263 GB, free: 72.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0685/4.94, allocations: 20.65 MB / 1.283 GB, free: 66.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01834/4.958, allocations: 7.166 MB / 1.29 GB, free: 64.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004277/4.962, allocations: 431.1 kB / 1.29 GB, free: 64.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/4.963, allocations: 0 / 1.29 GB, free: 64.11 MB / 490.7 MB Notification: Performance of Templates: time 2.123/7.085, allocations: 0.5938 GB / 1.884 GB, free: 26.95 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsFunctions.cpp:516:43: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp356 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsFunctions.cpp:516:86: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp356 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0)));\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.o] Error 1\n'