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.001483/0.001483, allocations: 181.4 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 1.953/1.953, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001094/0.001094, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.801e-05, allocations: 4 kB / 321.5 MB, free: 17.81 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09326, allocations: 47.58 MB / 369.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5204/0.6137, allocations: 152.8 MB / 0.5097 GB, free: 5.309 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/0.6142, allocations: 98.3 kB / 0.5098 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.532/3.146, allocations: 456.7 MB / 0.9558 GB, free: 33.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/3.146, allocations: 0 / 0.9558 GB, free: 33.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001197/3.148, allocations: 327.2 kB / 0.9561 GB, free: 33.86 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.07565/3.223, allocations: 13.28 MB / 0.969 GB, free: 28.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/3.223, allocations: 11.22 kB / 0.9691 GB, free: 28.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05798/3.281, allocations: 6.469 MB / 0.9754 GB, free: 25.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04023/3.322, allocations: 11.51 MB / 0.9866 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00212/3.324, allocations: 1.052 MB / 0.9876 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00792/3.332, allocations: 1.366 MB / 0.989 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09386/3.426, allocations: 23.37 MB / 1.012 GB, free: 4.492 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001102/3.427, allocations: 23.73 kB / 1.012 GB, free: 4.469 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00815/3.435, allocations: 0.5899 MB / 1.012 GB, free: 3.895 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002392/3.438, allocations: 0.9271 MB / 1.013 GB, free: 2.965 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5528/3.99, allocations: 20.99 MB / 1.034 GB, free: 49.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2042/4.195, allocations: 75.13 MB / 1.107 GB, free: 27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04376/4.239, allocations: 28.24 MB / 1.135 GB, free: 6.316 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02475/4.263, allocations: 9.356 MB / 1.144 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1041/4.368, allocations: 30.13 MB / 1.173 GB, free: 0 / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/4.368, allocations: 123.6 kB / 1.173 GB, free: 15.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=934): time 1.678e-05/4.368, allocations: 2.344 kB / 1.173 GB, free: 15.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=942): time 0.5292/4.897, allocations: 33.84 MB / 1.206 GB, free: 74.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/4.897, allocations: 160.8 kB / 1.207 GB, free: 73.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01474/4.912, allocations: 4.097 MB / 1.211 GB, free: 73.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002463/4.915, allocations: 154.7 kB / 1.211 GB, free: 73.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005219/4.92, allocations: 5.06 MB / 1.216 GB, free: 71.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005872/4.926, allocations: 3.107 MB / 1.219 GB, free: 69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003033/4.929, allocations: 166.8 kB / 1.219 GB, free: 69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001342/4.93, allocations: 0.6928 MB / 1.22 GB, free: 68.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01695/4.947, allocations: 5.959 MB / 1.225 GB, free: 68.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01899/4.966, allocations: 7.837 MB / 1.233 GB, free: 66.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01948/4.986, allocations: 7.264 MB / 1.24 GB, free: 66.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/4.986, allocations: 16.44 kB / 1.24 GB, free: 66.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.05471/5.041, allocations: 18.1 MB / 1.258 GB, free: 65.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/5.041, allocations: 28.44 kB / 1.258 GB, free: 65.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/5.041, allocations: 51.22 kB / 1.258 GB, free: 65.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0209/5.062, allocations: 5.87 MB / 1.264 GB, free: 65.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/5.075, allocations: 1.519 MB / 1.265 GB, free: 65.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03606/5.111, allocations: 19.97 MB / 1.285 GB, free: 52.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/5.122, allocations: 424.9 kB / 1.285 GB, free: 52.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002901/5.125, allocations: 381.4 kB / 1.285 GB, free: 52.28 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * 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.005282/5.13, allocations: 0.559 MB / 1.286 GB, free: 51.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003936/5.134, allocations: 0.6614 MB / 1.287 GB, free: 51.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05609/5.19, allocations: 18.04 MB / 1.304 GB, free: 43.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04007/5.23, allocations: 14.29 MB / 1.318 GB, free: 37.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.763e-05/5.23, allocations: 7.25 kB / 1.318 GB, free: 37.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002173/5.231, allocations: 41.22 kB / 1.318 GB, free: 37.85 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1043/5.335, allocations: 35.35 MB / 1.353 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001593/5.335, allocations: 10.34 kB / 1.353 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009767/5.345, allocations: 1.036 MB / 1.354 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02134/5.366, allocations: 5.953 MB / 1.36 GB, free: 2.574 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002445/5.369, allocations: 206.5 kB / 1.36 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4521/5.821, allocations: 24.2 MB / 1.383 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/5.821, allocations: 8.531 kB / 1.383 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07377/5.895, allocations: 27.04 MB / 1.41 GB, free: 84.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008353/5.903, allocations: 2.101 MB / 1.412 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003879/5.907, allocations: 145.8 kB / 1.412 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009482/5.917, allocations: 373.3 kB / 1.412 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003701/5.921, allocations: 0.7084 MB / 1.413 GB, free: 84.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002341/5.923, allocations: 260 kB / 1.413 GB, free: 84.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008393/5.931, allocations: 3.107 MB / 1.416 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.142e-06/5.931, allocations: 0 / 1.416 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0162/5.948, allocations: 2.498 MB / 1.419 GB, free: 84.38 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * 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%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(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.003844/5.952, allocations: 0.7369 MB / 1.42 GB, free: 84.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04192/5.994, allocations: 15.39 MB / 1.435 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/5.994, allocations: 5.844 kB / 1.435 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02499/6.019, allocations: 8.714 MB / 1.443 GB, free: 80.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01398/6.033, allocations: 1.482 MB / 1.445 GB, free: 79.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.082/6.115, allocations: 25.58 MB / 1.469 GB, free: 69.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02077/6.136, allocations: 9.036 MB / 1.478 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004533/6.14, allocations: 0.5039 MB / 1.479 GB, free: 63.31 MB / 0.4948 GB Notification: Performance of SimCode: time 2.305e-06/6.14, allocations: 0 / 1.479 GB, free: 63.31 MB / 0.4948 GB Notification: Performance of Templates: time 4.328/10.47, allocations: 1.099 GB / 2.578 GB, free: 112.2 MB / 0.5417 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'