Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008822, allocations: 100.5 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.54/1.54, allocations: 223.3 MB / 239.7 MB, free: 5.641 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.001647/0.001647, allocations: 180.5 kB / 290.9 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03301/0.03301, allocations: 8.773 MB / 350.8 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004206, allocations: 10.5 kB / 413.8 MB, free: 43.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 52.56 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01379/0.143, allocations: 11.96 MB / 478.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.154, allocations: 4.133 MB / 482.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002885/0.1569, allocations: 75.69 kB / 482.5 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.1595, allocations: 0.7302 MB / 483.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.1636, allocations: 1.059 MB / 484.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.1656, allocations: 0.6276 MB / 485 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006309/0.172, allocations: 4.108 MB / 489.1 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/0.1753, allocations: 2.187 MB / 491.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.1781, allocations: 1.307 MB / 492.6 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.1812, allocations: 1.587 MB / 494.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004898/0.1817, allocations: 208 kB / 494.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.1832, allocations: 395.8 kB / 494.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007483/0.184, allocations: 0.7277 MB / 495.5 MB, free: 348 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.1853, allocations: 0.7422 MB / 496.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006036/0.1913, allocations: 5.438 MB / 0.4899 GB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.1913, allocations: 4 kB / 0.4899 GB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1914, allocations: 0 / 0.4899 GB, free: 10.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002324/0.1916, allocations: 0 / 0.4899 GB, free: 10.13 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01097/0.2026, allocations: 3.743 MB / 0.4935 GB, free: 6.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.2026, allocations: 16.02 kB / 0.4936 GB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.2076, allocations: 0.8193 MB / 0.4944 GB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/0.213, allocations: 2.279 MB / 0.4966 GB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.2133, allocations: 242.5 kB / 0.4968 GB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008111/0.2141, allocations: 331.9 kB / 0.4971 GB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008464/0.2226, allocations: 4.299 MB / 0.5013 GB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.439e-05/0.2227, allocations: 3.984 kB / 0.5013 GB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/0.223, allocations: 132 kB / 0.5015 GB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.2232, allocations: 146.5 kB / 0.5016 GB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006806/0.23, allocations: 3.578 MB / 0.5051 GB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02385/0.2539, allocations: 13.92 MB / 0.5187 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007158/0.2611, allocations: 6.605 MB / 0.5251 GB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.2634, allocations: 1.394 MB / 0.5265 GB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3084/0.5718, allocations: 3.691 MB / 0.5301 GB, free: 63.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/0.5735, allocations: 0.9335 MB / 0.531 GB, free: 63.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=143): time 3.276e-06/0.5736, allocations: 2.719 kB / 0.531 GB, free: 63.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=146): time 0.01335/0.5869, allocations: 6.052 MB / 0.5369 GB, free: 61.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.5871, allocations: 224.6 kB / 0.5371 GB, free: 61.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/0.5908, allocations: 1.764 MB / 0.5389 GB, free: 61.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.591, allocations: 57.61 kB / 0.5389 GB, free: 61.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.5928, allocations: 1.47 MB / 0.5404 GB, free: 60.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006076/0.5935, allocations: 0.4943 MB / 0.5408 GB, free: 60.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.5936, allocations: 36.69 kB / 0.5409 GB, free: 60.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5937, allocations: 381.1 kB / 0.5412 GB, free: 59.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.5952, allocations: 0.6865 MB / 0.5419 GB, free: 59.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.5973, allocations: 1.349 MB / 0.5432 GB, free: 59.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.5997, allocations: 0.9372 MB / 0.5441 GB, free: 59.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/0.5998, allocations: 5.469 kB / 0.5441 GB, free: 59.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006068/0.6058, allocations: 2.63 MB / 0.5467 GB, free: 58.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.6059, allocations: 13.12 kB / 0.5467 GB, free: 58.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/0.606, allocations: 18.7 kB / 0.5467 GB, free: 58.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.6071, allocations: 369.3 kB / 0.5471 GB, free: 58.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.6086, allocations: 394.6 kB / 0.5475 GB, free: 58.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007623/0.6162, allocations: 7.699 MB / 0.555 GB, free: 51.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.6188, allocations: 107.1 kB / 0.5551 GB, free: 51.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.619, allocations: 78.84 kB / 0.5552 GB, free: 51.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsI[3].mean.y_last,rmsI[3].mean.y_last,$PRE.rmsI[2].mean.y_last,rmsI[2].mean.y_last,$PRE.rmsI[1].mean.y_last,rmsI[1].mean.y_last,idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002332/0.6213, allocations: 1.032 MB / 0.5562 GB, free: 51.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/0.6219, allocations: 196.3 kB / 0.5564 GB, free: 51.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/0.6257, allocations: 2.331 MB / 0.5586 GB, free: 49.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.6257, allocations: 22.64 kB / 0.5587 GB, free: 49.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.6258, allocations: 8.516 kB / 0.5587 GB, free: 49.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.6258, allocations: 7.609 kB / 0.5587 GB, free: 49.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00799/0.6338, allocations: 5.117 MB / 0.5637 GB, free: 47.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6338, allocations: 7.406 kB / 0.5637 GB, free: 47.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.6346, allocations: 179.1 kB / 0.5638 GB, free: 47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.6359, allocations: 0.5281 MB / 0.5644 GB, free: 46.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.6361, allocations: 39.61 kB / 0.5644 GB, free: 46.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.6464, allocations: 12.11 MB / 0.5762 GB, free: 35.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6464, allocations: 4.047 kB / 0.5762 GB, free: 35.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/0.6518, allocations: 3.27 MB / 0.5794 GB, free: 31.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.6532, allocations: 434.5 kB / 0.5798 GB, free: 31.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006954/0.6539, allocations: 46.39 kB / 0.5799 GB, free: 31.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.6551, allocations: 67.95 kB / 0.5799 GB, free: 31.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.6555, allocations: 117.1 kB / 0.5801 GB, free: 31.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.6556, allocations: 39.98 kB / 0.5801 GB, free: 31.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002626/0.6582, allocations: 1.204 MB / 0.5813 GB, free: 30.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.6582, allocations: 0 / 0.5813 GB, free: 30.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003438/0.6617, allocations: 0.5976 MB / 0.5819 GB, free: 29.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v,rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control,idealOpener.control,rmsI[1].mean.y_last,rmsI[2].mean.y_last,rmsI[3].mean.y_last) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003937/0.6621, allocations: 160.2 kB / 0.582 GB, free: 29.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003846/0.6659, allocations: 2.408 MB / 0.5844 GB, free: 26.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.666, allocations: 4 kB / 0.5844 GB, free: 26.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.6684, allocations: 1.806 MB / 0.5861 GB, free: 24.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/0.6719, allocations: 0.5229 MB / 0.5866 GB, free: 24.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.6878, allocations: 7.149 MB / 0.5936 GB, free: 17.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/0.6908, allocations: 2.281 MB / 0.5958 GB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000998/0.6919, allocations: 139.4 kB / 0.596 GB, free: 14.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.424e-06/0.6919, allocations: 4 kB / 0.596 GB, free: 14.8 MB / 366.1 MB Notification: Performance of Templates: time 0.4052/1.097, allocations: 129.9 MB / 0.7228 GB, free: 145 MB / 462.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.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_SteinmetzCalcHelperMain.o OMCppHanserModelica_HanserModelica.InductionMachines.IMC_SteinmetzCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.InductionMachines.IMC_SteinmetzCalcHelperMain.o] Error 1