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.001526/0.001525, allocations: 182 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.101/2.101, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001067/0.001067, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.237e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.0933, allocations: 47.57 MB / 369.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.5837, allocations: 126.2 MB / 495.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003958/0.5842, allocations: 104.5 kB / 495.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601/2.186, allocations: 338 MB / 0.8138 GB, free: 11.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.546e-06/2.186, allocations: 0 / 0.8138 GB, free: 11.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000718/2.186, allocations: 211.8 kB / 0.814 GB, free: 11.33 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.0441/2.231, allocations: 9.043 MB / 0.8229 GB, free: 2.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/2.231, allocations: 12.03 kB / 0.8229 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0421/2.273, allocations: 4.862 MB / 0.8276 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02975/2.303, allocations: 7.869 MB / 0.8353 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001456/2.304, allocations: 0.6941 MB / 0.836 GB, free: 4.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005214/2.309, allocations: 0.8983 MB / 0.8369 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.761/3.07, allocations: 16.51 MB / 0.853 GB, free: 31.63 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006417/3.071, allocations: 12.36 kB / 0.853 GB, free: 31.63 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00486/3.076, allocations: 394.4 kB / 0.8534 GB, free: 31.63 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/3.077, allocations: 0.6967 MB / 0.8541 GB, free: 31.61 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04892/3.126, allocations: 15.19 MB / 0.8689 GB, free: 31.53 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1376/3.264, allocations: 53.88 MB / 0.9215 GB, free: 15.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03029/3.294, allocations: 18.76 MB / 0.9398 GB, free: 2.484 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01937/3.314, allocations: 7.111 MB / 0.9468 GB, free: 15.95 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0696/3.383, allocations: 22.68 MB / 0.9689 GB, free: 4.762 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/3.384, allocations: 90.52 kB / 0.969 GB, free: 4.68 MB / 442.8 MB Notification: Performance of pre-optimization done (n=684): time 1.184e-05/3.384, allocations: 0 / 0.969 GB, free: 4.68 MB / 442.8 MB Notification: Performance of matching and sorting (n=690): time 0.07516/3.459, allocations: 23.43 MB / 0.9919 GB, free: 0 / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/3.459, allocations: 116.3 kB / 0.992 GB, free: 15.87 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005735/3.465, allocations: 2.431 MB / 0.9944 GB, free: 13.68 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001619/3.466, allocations: 117.7 kB / 0.9945 GB, free: 13.56 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002979/3.469, allocations: 3.312 MB / 0.9977 GB, free: 10.6 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004235/3.474, allocations: 2.274 MB / 0.9999 GB, free: 8.547 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008196/3.474, allocations: 120 kB / 1 GB, free: 8.43 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006777/3.475, allocations: 0.59 MB / 1.001 GB, free: 7.91 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01284/3.488, allocations: 4.635 MB / 1.005 GB, free: 3.766 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3847/3.873, allocations: 6.107 MB / 1.011 GB, free: 76.11 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/3.89, allocations: 5.638 MB / 1.017 GB, free: 76.01 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.076e-05/3.891, allocations: 9.938 kB / 1.017 GB, free: 76.01 MB / 474.8 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.04236/3.933, allocations: 13.29 MB / 1.03 GB, free: 75.75 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/3.933, allocations: 23.41 kB / 1.03 GB, free: 75.75 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/3.933, allocations: 38 kB / 1.03 GB, free: 75.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/3.947, allocations: 3.838 MB / 1.033 GB, free: 75.68 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009493/3.957, allocations: 1.127 MB / 1.035 GB, free: 75.68 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/3.975, allocations: 10.66 MB / 1.045 GB, free: 72.54 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007927/3.983, allocations: 357.6 kB / 1.045 GB, free: 72.54 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002156/3.985, allocations: 268.7 kB / 1.046 GB, free: 72.54 MB / 474.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 533 * 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.003567/3.989, allocations: 430.7 kB / 1.046 GB, free: 72.43 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/3.991, allocations: 431.8 kB / 1.046 GB, free: 72.43 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04041/4.032, allocations: 13.17 MB / 1.059 GB, free: 72.09 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03269/4.064, allocations: 11.73 MB / 1.071 GB, free: 71.8 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/4.065, allocations: 0 / 1.071 GB, free: 71.8 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001505/4.065, allocations: 32.16 kB / 1.071 GB, free: 71.8 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07075/4.135, allocations: 26.13 MB / 1.096 GB, free: 60.91 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.33e-05/4.136, allocations: 0 / 1.096 GB, free: 60.91 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007499/4.143, allocations: 0.806 MB / 1.097 GB, free: 60.89 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/4.156, allocations: 3.793 MB / 1.101 GB, free: 59.76 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001773/4.157, allocations: 145.5 kB / 1.101 GB, free: 59.68 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/4.174, allocations: 10.54 MB / 1.111 GB, free: 53.38 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/4.174, allocations: 0 / 1.111 GB, free: 53.38 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04782/4.222, allocations: 19.66 MB / 1.13 GB, free: 39.66 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005715/4.228, allocations: 1.544 MB / 1.132 GB, free: 38.26 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002224/4.23, allocations: 96 kB / 1.132 GB, free: 38.17 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005986/4.236, allocations: 286.3 kB / 1.132 GB, free: 37.97 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00242/4.239, allocations: 0.4976 MB / 1.133 GB, free: 37.65 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008938/4.24, allocations: 188.1 kB / 1.133 GB, free: 37.48 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004201/4.244, allocations: 1.836 MB / 1.135 GB, free: 35.83 MB / 474.8 MB Notification: Performance of sort global known variables: time 6.31e-07/4.244, allocations: 0 / 1.135 GB, free: 35.83 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01125/4.255, allocations: 1.685 MB / 1.136 GB, free: 34.17 MB / 474.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (436): * Single equations (assignments): 368 * 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.002787/4.258, allocations: 0.5581 MB / 1.137 GB, free: 33.76 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.03196/4.29, allocations: 11.33 MB / 1.148 GB, free: 23.62 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/4.29, allocations: 0 / 1.148 GB, free: 23.62 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01862/4.309, allocations: 5.846 MB / 1.154 GB, free: 18.41 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008085/4.317, allocations: 0.8414 MB / 1.154 GB, free: 17.76 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05098/4.368, allocations: 17.7 MB / 1.172 GB, free: 2.027 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01445/4.382, allocations: 6.342 MB / 1.178 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003312/4.386, allocations: 358.8 kB / 1.178 GB, free: 12.84 MB / 490.8 MB Notification: Performance of SimCode: time 1.252e-06/4.386, allocations: 4 kB / 1.178 GB, free: 12.83 MB / 490.8 MB Notification: Performance of Templates: time 2.416/6.802, allocations: 0.5775 GB / 1.756 GB, free: 93.93 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'