Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, 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.536/1.536, allocations: 223.3 MB / 239.7 MB, free: 5.637 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.001564/0.001564, allocations: 180.5 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.0332/0.0332, allocations: 8.776 MB / 350.8 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004543, allocations: 11.2 kB / 413.8 MB, free: 43.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 52.55 MB / 466.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02508/0.1541, allocations: 23.52 MB / 489.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02092/0.1751, allocations: 7.407 MB / 497.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008114/0.1833, allocations: 183.4 kB / 497.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007207/0.1905, allocations: 1.476 MB / 498.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.2027, allocations: 2.755 MB / 0.4899 GB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005796/0.2085, allocations: 1.248 MB / 0.4911 GB, free: 8.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02267/0.2312, allocations: 14.62 MB / 0.5054 GB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04162/0.2729, allocations: 19.83 MB / 0.5248 GB, free: 6.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009953/0.2829, allocations: 4.77 MB / 0.5295 GB, free: 1.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3373/0.6202, allocations: 5.291 MB / 0.5346 GB, free: 20.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004583/0.6248, allocations: 0.7176 MB / 0.5353 GB, free: 20.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008022/0.6329, allocations: 1.067 MB / 0.5364 GB, free: 20.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006072/0.639, allocations: 2.222 MB / 0.5385 GB, free: 20.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007958/0.647, allocations: 2.314 MB / 0.5408 GB, free: 20.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02976/0.6767, allocations: 20.95 MB / 0.5612 GB, free: 11.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6768, allocations: 0 / 0.5612 GB, free: 11.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.6768, allocations: 0 / 0.5612 GB, free: 11.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001201/0.678, allocations: 0 / 0.5612 GB, free: 11.73 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.0462/0.7242, allocations: 12.26 MB / 0.5732 GB, free: 5.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.7243, allocations: 10.31 kB / 0.5732 GB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04663/0.7709, allocations: 8.469 MB / 0.5815 GB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02108/0.7921, allocations: 7.38 MB / 0.5887 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001321/0.7935, allocations: 0.8139 MB / 0.5895 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006671/0.8002, allocations: 1.058 MB / 0.5905 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06796/0.8681, allocations: 18.23 MB / 0.6083 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008937/0.8691, allocations: 11.89 kB / 0.6083 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006145/0.8752, allocations: 450.7 kB / 0.6088 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/0.8763, allocations: 0.6633 MB / 0.6094 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05075/0.9271, allocations: 17.46 MB / 0.6265 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1504/1.078, allocations: 58.85 MB / 0.6839 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3931/1.471, allocations: 37.44 MB / 0.7205 GB, free: 126.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008885/1.48, allocations: 4.15 MB / 0.7246 GB, free: 126.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000685/1.48, allocations: 195.3 kB / 0.7247 GB, free: 126.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.901e-05/1.48, allocations: 86.73 kB / 0.7248 GB, free: 126.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=524): time 7.904e-06/1.48, allocations: 3.844 kB / 0.7248 GB, free: 126.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=530): time 0.08068/1.561, allocations: 23.9 MB / 0.7482 GB, free: 121.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/1.561, allocations: 105.3 kB / 0.7483 GB, free: 121.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007545/1.569, allocations: 4.14 MB / 0.7523 GB, free: 120 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00133/1.57, allocations: 112.4 kB / 0.7524 GB, free: 119.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002988/1.573, allocations: 4.508 MB / 0.7568 GB, free: 116.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002433/1.576, allocations: 1.797 MB / 0.7586 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004952/1.576, allocations: 139.5 kB / 0.7587 GB, free: 115 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00041/1.577, allocations: 0.5966 MB / 0.7593 GB, free: 114.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005433/1.582, allocations: 3.455 MB / 0.7627 GB, free: 113.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007346/1.589, allocations: 5.903 MB / 0.7684 GB, free: 108.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008635/1.598, allocations: 4.786 MB / 0.7731 GB, free: 104.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-05/1.598, allocations: 20 kB / 0.7731 GB, free: 104.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.021/1.619, allocations: 10.96 MB / 0.7838 GB, free: 94.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.619, allocations: 36 kB / 0.7839 GB, free: 94.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/1.619, allocations: 80 kB / 0.7839 GB, free: 94.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/1.623, allocations: 1.392 MB / 0.7853 GB, free: 92.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007174/1.63, allocations: 1.611 MB / 0.7869 GB, free: 91.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/1.647, allocations: 10.55 MB / 0.7972 GB, free: 80.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007406/1.654, allocations: 411.3 kB / 0.7976 GB, free: 79.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002652/1.657, allocations: 340 kB / 0.7979 GB, free: 79.64 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * 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.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01291/1.67, allocations: 4.165 MB / 0.802 GB, free: 75.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/1.672, allocations: 473.7 kB / 0.8024 GB, free: 75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/1.692, allocations: 8.541 MB / 0.8107 GB, free: 66.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01349/1.706, allocations: 7.113 MB / 0.8177 GB, free: 59.17 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.376e-05/1.706, allocations: 12 kB / 0.8177 GB, free: 59.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000126/1.706, allocations: 27.89 kB / 0.8177 GB, free: 59.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05836/1.764, allocations: 19.38 MB / 0.8367 GB, free: 39.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/1.764, allocations: 5.25 kB / 0.8367 GB, free: 39.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004321/1.769, allocations: 0.9361 MB / 0.8376 GB, free: 38.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/1.772, allocations: 1.238 MB / 0.8388 GB, free: 37.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/1.773, allocations: 115.9 kB / 0.8389 GB, free: 37.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/1.787, allocations: 9.301 MB / 0.848 GB, free: 27.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.787, allocations: 0 / 0.848 GB, free: 27.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02401/1.811, allocations: 12.34 MB / 0.86 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004021/1.815, allocations: 1.174 MB / 0.8612 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002177/1.817, allocations: 95.98 kB / 0.8613 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004321/1.821, allocations: 279.8 kB / 0.8615 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/1.823, allocations: 356.4 kB / 0.8619 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008112/1.823, allocations: 153.5 kB / 0.862 GB, free: 13.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006807/1.83, allocations: 2.78 MB / 0.8647 GB, free: 10.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.72e-07/1.83, allocations: 0 / 0.8647 GB, free: 10.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01138/1.842, allocations: 1.939 MB / 0.8666 GB, free: 8.422 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.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 (502): * Single equations (assignments): 497 * 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.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001574/1.843, allocations: 298.1 kB / 0.8669 GB, free: 8.141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01716/1.86, allocations: 8.746 MB / 0.8754 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.861, allocations: 1.203 kB / 0.8755 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.872, allocations: 4.203 MB / 0.8796 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/1.883, allocations: 1.088 MB / 0.8806 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3525/2.236, allocations: 22.76 MB / 0.9028 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0136/2.249, allocations: 6.803 MB / 0.9095 GB, free: 140.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/2.252, allocations: 470.8 kB / 0.9099 GB, free: 140.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.273e-06/2.252, allocations: 0 / 0.9099 GB, free: 140.7 MB / 494.1 MB Notification: Performance of Templates: time 0.5965/2.849, allocations: 180.5 MB / 1.086 GB, free: 142.5 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.IMS_Characteristics1CalcHelperMain.o OMCppHanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1CalcHelperMain.o] Error 1