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.005777/0.005777, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.527/3.527, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001951/0.001951, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006598/0.0006601, allocations: 15.98 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1665, allocations: 47.58 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.4937/0.6602, allocations: 19.92 MB / 394.5 MB, free: 9.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05083/0.7112, allocations: 6.957 MB / 401.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0168/0.7281, allocations: 145.2 kB / 401.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02054/0.7487, allocations: 1.488 MB / 403.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02095/0.7697, allocations: 2.521 MB / 405.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.7804, allocations: 1.181 MB / 406.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03844/0.8189, allocations: 9.979 MB / 416.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1376/0.9566, allocations: 17.8 MB / 434.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03369/0.9904, allocations: 3.91 MB / 438.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0207/1.011, allocations: 4.234 MB / 442.7 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004968/1.016, allocations: 0.6406 MB / 443.3 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01779/1.034, allocations: 0.9408 MB / 444.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0107/1.045, allocations: 1.885 MB / 446.2 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01226/1.057, allocations: 2.067 MB / 448.2 MB, free: 3.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07661/1.134, allocations: 18.95 MB / 467.2 MB, free: 0.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/1.134, allocations: 0 / 467.2 MB, free: 0.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.459e-06/1.134, allocations: 3.938 kB / 467.2 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006952/1.135, allocations: 0 / 467.2 MB, free: 0.7461 MB / 330.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.0764/1.211, allocations: 10.85 MB / 478 MB, free: 5.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/1.211, allocations: 16.03 kB / 478.1 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1088/1.32, allocations: 7.085 MB / 485.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03257/1.353, allocations: 6.104 MB / 491.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001897/1.355, allocations: 0.7144 MB / 492 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007654/1.363, allocations: 0.9335 MB / 492.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08969/1.452, allocations: 16.07 MB / 0.497 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007869/1.453, allocations: 15.89 kB / 0.497 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006187/1.459, allocations: 392 kB / 0.4974 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001719/1.461, allocations: 0.5864 MB / 0.498 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08645/1.548, allocations: 15.4 MB / 0.513 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.115/2.663, allocations: 52.93 MB / 0.5647 GB, free: 87.95 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07205/2.735, allocations: 35.48 MB / 0.5994 GB, free: 54.21 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05066/2.786, allocations: 10.26 MB / 0.6094 GB, free: 47.41 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/2.786, allocations: 64.08 kB / 0.6094 GB, free: 47.35 MB / 410.8 MB Notification: Performance of pre-optimization done (n=307): time 1.234e-05/2.786, allocations: 0 / 0.6094 GB, free: 47.35 MB / 410.8 MB Notification: Performance of matching and sorting (n=313): time 0.1004/2.887, allocations: 15.59 MB / 0.6247 GB, free: 37.99 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/2.887, allocations: 89.38 kB / 0.6247 GB, free: 37.9 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01565/2.902, allocations: 3.813 MB / 0.6285 GB, free: 34.09 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001145/2.904, allocations: 77.7 kB / 0.6285 GB, free: 34.01 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00538/2.909, allocations: 4.13 MB / 0.6326 GB, free: 29.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002831/2.912, allocations: 1.083 MB / 0.6336 GB, free: 28.79 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001551/2.914, allocations: 112 kB / 0.6337 GB, free: 28.68 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0009289/2.915, allocations: 0.5341 MB / 0.6343 GB, free: 28.13 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01194/2.927, allocations: 2.603 MB / 0.6368 GB, free: 25.52 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01491/2.942, allocations: 4.935 MB / 0.6416 GB, free: 19.46 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01544/2.957, allocations: 3.73 MB / 0.6453 GB, free: 15.72 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/2.958, allocations: 24 kB / 0.6453 GB, free: 15.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.04391/3.001, allocations: 8.57 MB / 0.6537 GB, free: 7.086 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/3.002, allocations: 38.34 kB / 0.6537 GB, free: 7.051 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000243/3.002, allocations: 80.53 kB / 0.6538 GB, free: 6.973 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009738/3.012, allocations: 1.216 MB / 0.655 GB, free: 5.754 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01391/3.026, allocations: 1.236 MB / 0.6562 GB, free: 4.516 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04204/3.068, allocations: 9.392 MB / 0.6653 GB, free: 10.99 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/3.08, allocations: 331.4 kB / 0.6657 GB, free: 10.67 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002408/3.082, allocations: 288 kB / 0.6659 GB, free: 10.39 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (645): * Single equations (assignments): 640 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01817/3.101, allocations: 3.736 MB / 0.6696 GB, free: 6.637 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002519/3.103, allocations: 383.3 kB / 0.6699 GB, free: 6.258 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03669/3.14, allocations: 5.934 MB / 0.6757 GB, free: 276 kB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02839/3.168, allocations: 4.873 MB / 0.6805 GB, free: 11.35 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-05/3.169, allocations: 12 kB / 0.6805 GB, free: 11.34 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001492/3.169, allocations: 15.94 kB / 0.6805 GB, free: 11.32 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07673/3.245, allocations: 13.89 MB / 0.6941 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-05/3.246, allocations: 4 kB / 0.6941 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00897/3.255, allocations: 0.5734 MB / 0.6947 GB, free: 12.77 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009673/3.264, allocations: 1.078 MB / 0.6957 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001225/3.266, allocations: 63.98 kB / 0.6958 GB, free: 11.62 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04013/3.306, allocations: 8.31 MB / 0.7039 GB, free: 3.18 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.908e-05/3.306, allocations: 7.938 kB / 0.7039 GB, free: 3.172 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5199/3.826, allocations: 9.007 MB / 0.7127 GB, free: 148.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005315/3.831, allocations: 0.8962 MB / 0.7136 GB, free: 148.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00257/3.834, allocations: 59.34 kB / 0.7136 GB, free: 148.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006982/3.841, allocations: 193.4 kB / 0.7138 GB, free: 148 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002241/3.843, allocations: 226.4 kB / 0.714 GB, free: 148 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001196/3.845, allocations: 96.91 kB / 0.7141 GB, free: 148 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01234/3.857, allocations: 2.547 MB / 0.7166 GB, free: 147 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.412e-06/3.857, allocations: 0 / 0.7166 GB, free: 147 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01584/3.873, allocations: 1.559 MB / 0.7181 GB, free: 146.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (289): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001966/3.875, allocations: 254.7 kB / 0.7184 GB, free: 146.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.03022/3.905, allocations: 6.635 MB / 0.7248 GB, free: 144.1 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/3.905, allocations: 0 / 0.7248 GB, free: 144.1 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01467/3.92, allocations: 3.046 MB / 0.7278 GB, free: 142.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01101/3.931, allocations: 0.8538 MB / 0.7286 GB, free: 142.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1225/4.054, allocations: 19.07 MB / 0.7473 GB, free: 132.3 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03979/4.094, allocations: 6.19 MB / 0.7533 GB, free: 129 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01951/4.113, allocations: 354.1 kB / 0.7537 GB, free: 128.7 MB / 458.8 MB Notification: Performance of SimCode: time 2.395e-06/4.113, allocations: 0 / 0.7537 GB, free: 128.7 MB / 458.8 MB Notification: Performance of Templates: time 1.081/5.195, allocations: 150.2 MB / 0.9004 GB, free: 130.5 MB / 458.8 MB 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=5 -DSUNDIALS_MINOR_VERSION=4 -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:220:43: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp114 = 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:220:86: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp114 = 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'