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.IMC_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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001149/0.001149, allocations: 96.36 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.000431, allocations: 16 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3515, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.5746, allocations: 126.3 MB / 0.4891 GB, free: 2.418 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.575, allocations: 103.9 kB / 0.4892 GB, free: 2.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.005/2.58, allocations: 338.3 MB / 0.8196 GB, free: 47.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.537e-06/2.58, allocations: 0 / 0.8196 GB, free: 47.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009792/2.581, allocations: 212.5 kB / 0.8198 GB, free: 47.41 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.05133/2.632, allocations: 9.486 MB / 0.8291 GB, free: 44.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/2.632, allocations: 10.47 kB / 0.8291 GB, free: 44.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04346/2.676, allocations: 4.886 MB / 0.8339 GB, free: 44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03023/2.706, allocations: 7.889 MB / 0.8416 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001511/2.707, allocations: 0.6929 MB / 0.8422 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005087/2.712, allocations: 0.8962 MB / 0.8431 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0609/2.773, allocations: 16.71 MB / 0.8594 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007582/2.774, allocations: 11.11 kB / 0.8594 GB, free: 41.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00538/2.78, allocations: 403.8 kB / 0.8598 GB, free: 41.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001308/2.781, allocations: 0.6884 MB / 0.8605 GB, free: 41.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04833/2.829, allocations: 15.44 MB / 0.8756 GB, free: 41.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1382/2.968, allocations: 53.87 MB / 0.9282 GB, free: 16.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03545/3.003, allocations: 18.85 MB / 0.9466 GB, free: 296 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0701/3.073, allocations: 22.72 MB / 0.9688 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.456e-05/3.073, allocations: 86.97 kB / 0.9689 GB, free: 13.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=686): time 1.133e-05/3.073, allocations: 0 / 0.9689 GB, free: 13.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=692): time 0.4928/3.566, allocations: 39.99 MB / 1.008 GB, free: 69.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/3.566, allocations: 109.8 kB / 1.008 GB, free: 69.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/3.572, allocations: 2.463 MB / 1.01 GB, free: 69.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001905/3.574, allocations: 120.5 kB / 1.011 GB, free: 69.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002682/3.577, allocations: 3.304 MB / 1.014 GB, free: 67.63 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004098/3.581, allocations: 2.278 MB / 1.016 GB, free: 66.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/3.582, allocations: 117.1 kB / 1.016 GB, free: 66.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007966/3.583, allocations: 0.5925 MB / 1.017 GB, free: 65.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01378/3.597, allocations: 4.732 MB / 1.021 GB, free: 65.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01526/3.612, allocations: 6.06 MB / 1.027 GB, free: 64.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/3.627, allocations: 5.723 MB / 1.033 GB, free: 64.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.661e-05/3.628, allocations: 10.5 kB / 1.033 GB, free: 64.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.04079/3.668, allocations: 13.49 MB / 1.046 GB, free: 63.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/3.669, allocations: 23.56 kB / 1.046 GB, free: 63.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/3.669, allocations: 37.06 kB / 1.046 GB, free: 63.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01323/3.682, allocations: 3.874 MB / 1.05 GB, free: 63.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009117/3.691, allocations: 1.13 MB / 1.051 GB, free: 63.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/3.709, allocations: 10.7 MB / 1.061 GB, free: 57.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007391/3.717, allocations: 348.3 kB / 1.062 GB, free: 57.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/3.719, allocations: 281.8 kB / 1.062 GB, free: 57.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (603): * Single equations (assignments): 535 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * 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,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.01108/3.73, allocations: 3.693 MB / 1.066 GB, free: 55.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/3.733, allocations: 434.2 kB / 1.066 GB, free: 55.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04007/3.773, allocations: 13.24 MB / 1.079 GB, free: 49.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03503/3.808, allocations: 11.9 MB / 1.091 GB, free: 44.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/3.808, allocations: 0 / 1.091 GB, free: 44.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001397/3.808, allocations: 30 kB / 1.091 GB, free: 44.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07148/3.88, allocations: 26.42 MB / 1.116 GB, free: 29.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.216e-05/3.88, allocations: 0 / 1.116 GB, free: 29.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007337/3.887, allocations: 0.8168 MB / 1.117 GB, free: 28.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01253/3.9, allocations: 3.778 MB / 1.121 GB, free: 25.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001821/3.901, allocations: 144.6 kB / 1.121 GB, free: 25.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/3.919, allocations: 10.58 MB / 1.131 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/3.919, allocations: 0 / 1.131 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0634/3.982, allocations: 20.73 MB / 1.152 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00598/3.988, allocations: 1.539 MB / 1.153 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002285/3.99, allocations: 99.81 kB / 1.153 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006106/3.997, allocations: 286.4 kB / 1.153 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002694/3.999, allocations: 0.5056 MB / 1.154 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00146/4.001, allocations: 188.5 kB / 1.154 GB, free: 13.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004894/4.006, allocations: 1.863 MB / 1.156 GB, free: 12.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/4.006, allocations: 4 kB / 1.156 GB, free: 12.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0107/4.016, allocations: 1.685 MB / 1.158 GB, free: 10.47 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * 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,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002555/4.019, allocations: 493.9 kB / 1.158 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.384/4.403, allocations: 11.93 MB / 1.17 GB, free: 90.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/4.403, allocations: 0 / 1.17 GB, free: 90.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0187/4.422, allocations: 5.958 MB / 1.176 GB, free: 90.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008737/4.431, allocations: 0.8373 MB / 1.176 GB, free: 90.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06526/4.496, allocations: 23.84 MB / 1.2 GB, free: 82.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01468/4.511, allocations: 6.332 MB / 1.206 GB, free: 81.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003229/4.514, allocations: 356.1 kB / 1.206 GB, free: 81.69 MB / 490.7 MB Notification: Performance of SimCode: time 1.964e-06/4.514, allocations: 0 / 1.206 GB, free: 81.69 MB / 490.7 MB Notification: Performance of Templates: time 1.899/6.413, allocations: 0.5768 GB / 1.783 GB, free: 81.8 MB / 0.4949 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.IMC_CharacteristicsCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.cpp:455:43: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp325 = 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.IMC_CharacteristicsFunctions.cpp:455:86: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp325 = 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.IMC_CharacteristicsCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o] Error 1\n'