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_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002259/0.002259, allocations: 189.2 kB / 16.41 MB, free: 5.723 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.987/1.987, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001242/0.001242, allocations: 94.45 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005505/0.0005508, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3588, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5524/0.9113, allocations: 152.9 MB / 0.5151 GB, free: 65.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/0.9117, allocations: 111.7 kB / 0.5152 GB, free: 65.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.022/2.934, allocations: 457 MB / 0.9615 GB, free: 11.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.13e-06/2.934, allocations: 0 / 0.9615 GB, free: 11.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001455/2.936, allocations: 335.5 kB / 0.9618 GB, free: 11.13 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.0739/3.01, allocations: 14.07 MB / 0.9756 GB, free: 12.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/3.01, allocations: 8.031 kB / 0.9756 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05733/3.067, allocations: 6.514 MB / 0.9819 GB, free: 6.391 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7906/3.858, allocations: 11.54 MB / 0.9932 GB, free: 30.19 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001818/3.86, allocations: 1.052 MB / 0.9942 GB, free: 30.16 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007259/3.867, allocations: 1.367 MB / 0.9956 GB, free: 30.16 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08372/3.951, allocations: 23.66 MB / 1.019 GB, free: 28.51 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001035/3.952, allocations: 26.89 kB / 1.019 GB, free: 28.51 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006484/3.958, allocations: 0.5845 MB / 1.019 GB, free: 28.51 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001801/3.96, allocations: 0.928 MB / 1.02 GB, free: 28.48 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0673/4.027, allocations: 21.39 MB / 1.041 GB, free: 28.35 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2014/4.229, allocations: 75.12 MB / 1.114 GB, free: 12.59 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04844/4.277, allocations: 28.43 MB / 1.142 GB, free: 7.164 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09833/4.376, allocations: 29.62 MB / 1.171 GB, free: 0 / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.787/5.163, allocations: 120.3 kB / 1.171 GB, free: 78.18 MB / 0.495 GB Notification: Performance of pre-optimization done (n=944): time 1.796e-05/5.163, allocations: 3.812 kB / 1.171 GB, free: 78.18 MB / 0.495 GB Notification: Performance of matching and sorting (n=952): time 0.3332/5.496, allocations: 67.58 MB / 1.237 GB, free: 68.78 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/5.496, allocations: 160.2 kB / 1.237 GB, free: 68.68 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/5.508, allocations: 4.136 MB / 1.241 GB, free: 68.36 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.002302/5.51, allocations: 159.1 kB / 1.242 GB, free: 68.33 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.004283/5.515, allocations: 5.053 MB / 1.246 GB, free: 65.62 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.005344/5.52, allocations: 3.137 MB / 1.25 GB, free: 63.59 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002453/5.522, allocations: 165.2 kB / 1.25 GB, free: 63.59 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 0.001242/5.524, allocations: 0.6992 MB / 1.25 GB, free: 63.25 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0172/5.541, allocations: 6.109 MB / 1.256 GB, free: 63.23 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01974/5.561, allocations: 7.979 MB / 1.264 GB, free: 61.25 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/5.581, allocations: 7.395 MB / 1.271 GB, free: 61.08 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.352e-05/5.581, allocations: 17.69 kB / 1.271 GB, free: 61.08 MB / 0.495 GB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.05377/5.635, allocations: 18.38 MB / 1.289 GB, free: 53.96 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/5.635, allocations: 23.41 kB / 1.289 GB, free: 53.96 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/5.635, allocations: 55.09 kB / 1.289 GB, free: 53.96 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02042/5.655, allocations: 5.911 MB / 1.295 GB, free: 52.1 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/5.668, allocations: 1.528 MB / 1.297 GB, free: 52.05 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03341/5.701, allocations: 20.11 MB / 1.316 GB, free: 33.62 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/5.716, allocations: 426 kB / 1.317 GB, free: 33.3 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002875/5.719, allocations: 382.8 kB / 1.317 GB, free: 32.95 MB / 0.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 755 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.0165/5.735, allocations: 5.201 MB / 1.322 GB, free: 28.6 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003848/5.739, allocations: 0.659 MB / 1.323 GB, free: 27.93 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05703/5.796, allocations: 18.3 MB / 1.341 GB, free: 12.2 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4654/6.262, allocations: 15.28 MB / 1.356 GB, free: 68.34 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.956e-05/6.262, allocations: 8.875 kB / 1.356 GB, free: 68.34 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002255/6.262, allocations: 41.25 kB / 1.356 GB, free: 68.34 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09802/6.36, allocations: 35.83 MB / 1.391 GB, free: 67.1 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001134/6.36, allocations: 3.75 kB / 1.391 GB, free: 67.1 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009369/6.37, allocations: 1.06 MB / 1.392 GB, free: 67.1 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01999/6.39, allocations: 5.997 MB / 1.398 GB, free: 66.93 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002437/6.392, allocations: 214 kB / 1.398 GB, free: 66.93 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03929/6.431, allocations: 24.45 MB / 1.422 GB, free: 56.98 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/6.432, allocations: 5.281 kB / 1.422 GB, free: 56.98 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0717/6.503, allocations: 27.58 MB / 1.449 GB, free: 48.5 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008381/6.512, allocations: 2.116 MB / 1.451 GB, free: 47.67 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003423/6.515, allocations: 149.7 kB / 1.451 GB, free: 47.56 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009443/6.525, allocations: 383.8 kB / 1.451 GB, free: 47.45 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003976/6.529, allocations: 0.707 MB / 1.452 GB, free: 47.31 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001372/6.53, allocations: 257.2 kB / 1.452 GB, free: 47.25 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.008282/6.538, allocations: 3.147 MB / 1.455 GB, free: 46.09 MB / 0.495 GB Notification: Performance of sort global known variables: time 7.92e-07/6.538, allocations: 0 / 1.455 GB, free: 46.09 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.01619/6.555, allocations: 2.512 MB / 1.458 GB, free: 45.82 MB / 0.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,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,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (562): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.003475/6.558, allocations: 0.6243 MB / 1.458 GB, free: 45.6 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.04494/6.603, allocations: 15.72 MB / 1.474 GB, free: 39.26 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/6.603, allocations: 0 / 1.474 GB, free: 39.26 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.02707/6.63, allocations: 8.899 MB / 1.482 GB, free: 35.39 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/6.645, allocations: 1.485 MB / 1.484 GB, free: 35.01 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09637/6.741, allocations: 34.95 MB / 1.518 GB, free: 3.898 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04542/6.786, allocations: 10.23 MB / 1.528 GB, free: 15.96 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00478/6.791, allocations: 0.5092 MB / 1.528 GB, free: 15.48 MB / 0.5107 GB Notification: Performance of SimCode: time 1.543e-06/6.791, allocations: 0 / 1.528 GB, free: 15.48 MB / 0.5107 GB Notification: Performance of Templates: time 4.148/10.94, allocations: 1.101 GB / 2.629 GB, free: 57.9 MB / 0.5419 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOLCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLFunctions.cpp:508:43: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp330 = 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_DOLFunctions.cpp:508:86: error: use of undeclared identifier \'UNKNOWN_SUBSCRIPT\'\n tmp330 = 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_DOLCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOLCalcHelperMain.o] Error 1\n'