Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.59 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 239.7 MB, free: 5.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 176.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03297/0.03297, allocations: 8.788 MB / 350.8 MB, free: 4.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004825, allocations: 9.844 kB / 413.8 MB, free: 43.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1292, allocations: 52.56 MB / 466.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02409/0.1533, allocations: 21.64 MB / 488 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.1718, allocations: 7.364 MB / 495.4 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005925/0.1777, allocations: 163.5 kB / 495.5 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006495/0.1843, allocations: 1.375 MB / 496.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.1967, allocations: 2.448 MB / 499.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006687/0.2035, allocations: 1.245 MB / 0.4889 GB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02156/0.225, allocations: 13.49 MB / 0.502 GB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04592/0.271, allocations: 19.3 MB / 0.5209 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.2819, allocations: 4.354 MB / 0.5251 GB, free: 5.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.2928, allocations: 4.795 MB / 0.5298 GB, free: 1.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003797/0.2967, allocations: 0.6602 MB / 0.5305 GB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3331/0.6298, allocations: 1.042 MB / 0.5315 GB, free: 24.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00556/0.6354, allocations: 2.061 MB / 0.5335 GB, free: 24.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006902/0.6423, allocations: 2.13 MB / 0.5356 GB, free: 24.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03189/0.6742, allocations: 19.6 MB / 0.5547 GB, free: 17.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6743, allocations: 0.8125 kB / 0.5547 GB, free: 17.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6743, allocations: 1.031 kB / 0.5547 GB, free: 17.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001057/0.6754, allocations: 1.438 kB / 0.5547 GB, free: 17.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04534/0.7207, allocations: 11.34 MB / 0.5658 GB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.7208, allocations: 10.31 kB / 0.5658 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03597/0.7568, allocations: 6.246 MB / 0.5719 GB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/0.7755, allocations: 6.988 MB / 0.5787 GB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009765/0.7765, allocations: 0.7206 MB / 0.5794 GB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006447/0.7829, allocations: 0.9576 MB / 0.5804 GB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05893/0.8419, allocations: 16.08 MB / 0.5961 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005521/0.8425, allocations: 14.78 kB / 0.5961 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007248/0.8498, allocations: 400.2 kB / 0.5965 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006549/0.8505, allocations: 0.5563 MB / 0.597 GB, free: 92 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04539/0.8958, allocations: 15.05 MB / 0.6117 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.125/1.021, allocations: 52.73 MB / 0.6632 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0245/1.045, allocations: 20.08 MB / 0.6828 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007689/1.053, allocations: 3.678 MB / 0.6864 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/1.054, allocations: 191.4 kB / 0.6866 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/1.054, allocations: 82.09 kB / 0.6867 GB, free: 3.891 MB / 462.1 MB Notification: Performance of pre-optimization done (n=453): time 1.146e-05/1.054, allocations: 0 / 0.6867 GB, free: 3.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=458): time 0.4279/1.482, allocations: 22.97 MB / 0.7091 GB, free: 152 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/1.482, allocations: 96.94 kB / 0.7092 GB, free: 151.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009626/1.492, allocations: 4.465 MB / 0.7135 GB, free: 151.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.493, allocations: 102 kB / 0.7136 GB, free: 151.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00302/1.496, allocations: 4.187 MB / 0.7177 GB, free: 149.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002208/1.498, allocations: 1.552 MB / 0.7193 GB, free: 148.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/1.499, allocations: 128.8 kB / 0.7194 GB, free: 148.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003669/1.499, allocations: 0.5558 MB / 0.7199 GB, free: 148.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/1.504, allocations: 3.077 MB / 0.7229 GB, free: 147 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006388/1.51, allocations: 5.237 MB / 0.728 GB, free: 143.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0076/1.518, allocations: 4.273 MB / 0.7322 GB, free: 141.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/1.518, allocations: 18.66 kB / 0.7322 GB, free: 141.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02493/1.543, allocations: 9.878 MB / 0.7419 GB, free: 137.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/1.543, allocations: 42.34 kB / 0.7419 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/1.544, allocations: 67.69 kB / 0.742 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/1.548, allocations: 1.38 MB / 0.7433 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006334/1.554, allocations: 1.39 MB / 0.7447 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.571, allocations: 11.64 MB / 0.756 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007912/1.579, allocations: 362.1 kB / 0.7564 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002738/1.582, allocations: 295.4 kB / 0.7567 GB, free: 125.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (723): * Single equations (assignments): 717 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01473/1.597, allocations: 3.894 MB / 0.7605 GB, free: 122.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002626/1.6, allocations: 461 kB / 0.7609 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0197/1.619, allocations: 8.578 MB / 0.7693 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01119/1.631, allocations: 6.28 MB / 0.7754 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-05/1.631, allocations: 12 kB / 0.7754 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-05/1.631, allocations: 23.91 kB / 0.7755 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03777/1.669, allocations: 17.73 MB / 0.7928 GB, free: 89.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/1.669, allocations: 7.953 kB / 0.7928 GB, free: 89.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003043/1.672, allocations: 0.804 MB / 0.7936 GB, free: 88.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003308/1.675, allocations: 1.279 MB / 0.7948 GB, free: 87.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/1.676, allocations: 112 kB / 0.7949 GB, free: 87.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/1.689, allocations: 10.57 MB / 0.8052 GB, free: 76.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.689, allocations: 11.94 kB / 0.8053 GB, free: 76.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/1.706, allocations: 11.27 MB / 0.8163 GB, free: 65.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003985/1.71, allocations: 1.104 MB / 0.8173 GB, free: 63.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002108/1.712, allocations: 91.98 kB / 0.8174 GB, free: 63.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003889/1.716, allocations: 243.8 kB / 0.8177 GB, free: 63.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/1.717, allocations: 327.6 kB / 0.818 GB, free: 63.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006678/1.718, allocations: 136 kB / 0.8181 GB, free: 63.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007325/1.725, allocations: 3.084 MB / 0.8211 GB, free: 60.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.725, allocations: 5.141 kB / 0.8211 GB, free: 60.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01163/1.737, allocations: 1.719 MB / 0.8228 GB, free: 58.39 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * 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 (420): * Single equations (assignments): 414 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002446/1.739, allocations: 0.5325 MB / 0.8233 GB, free: 58.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01653/1.756, allocations: 8.001 MB / 0.8311 GB, free: 50 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/1.756, allocations: 1.812 kB / 0.8311 GB, free: 50 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008649/1.764, allocations: 3.982 MB / 0.835 GB, free: 45.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/1.775, allocations: 1.016 MB / 0.836 GB, free: 44.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.049/1.824, allocations: 21.26 MB / 0.8568 GB, free: 23.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008684/1.833, allocations: 6.326 MB / 0.8629 GB, free: 17.24 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/1.835, allocations: 423.3 kB / 0.8633 GB, free: 16.83 MB / 478.1 MB Notification: Performance of SimCode: time 1.183e-06/1.835, allocations: 0 / 0.8633 GB, free: 16.83 MB / 478.1 MB Notification: Performance of Templates: time 0.9091/2.744, allocations: 226.2 MB / 1.084 GB, free: 160.1 MB / 0.4981 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile clang++ NOTFOUND -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 OMCppHanserModelica_HanserModelica.InductionMachines.IMC_withLossesCalcHelperMain.o OMCppHanserModelica_HanserModelica.InductionMachines.IMC_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.InductionMachines.IMC_withLossesCalcHelperMain.o] Error 1