Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, 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.511/1.511, allocations: 223.3 MB / 239.7 MB, free: 5.617 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.001218/0.001217, allocations: 184.5 kB / 290.9 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03261/0.03261, allocations: 8.782 MB / 350.8 MB, free: 4.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 13.81 kB / 413.8 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 52.55 MB / 466.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.04227/0.174, allocations: 39.63 MB / 0.4941 GB, free: 5.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03289/0.207, allocations: 10.98 MB / 0.5049 GB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01263/0.2196, allocations: 322.9 kB / 0.5052 GB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.2308, allocations: 2.229 MB / 0.5073 GB, free: 8.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02008/0.2509, allocations: 3.996 MB / 0.5112 GB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.2612, allocations: 1.971 MB / 0.5132 GB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.5722/0.8334, allocations: 23.1 MB / 0.5357 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07344/0.9069, allocations: 31.95 MB / 0.5669 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01851/0.9255, allocations: 7.769 MB / 0.5745 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01896/0.9445, allocations: 8.837 MB / 0.5831 GB, free: 2.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006924/0.9514, allocations: 1.215 MB / 0.5843 GB, free: 1.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01375/0.9652, allocations: 1.625 MB / 0.5859 GB, free: 0 / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009516/0.9748, allocations: 3.899 MB / 0.5897 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01328/0.9881, allocations: 3.966 MB / 0.5936 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.048/1.036, allocations: 34.91 MB / 0.6277 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.036, allocations: 6.312 kB / 0.6277 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.745e-06/1.036, allocations: 0 / 0.6277 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001624/1.038, allocations: 0 / 0.6277 GB, free: 14.85 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.0728/1.111, allocations: 20.09 MB / 0.6473 GB, free: 12.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.111, allocations: 8.031 kB / 0.6473 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06662/1.177, allocations: 11.35 MB / 0.6584 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03741/1.215, allocations: 12.87 MB / 0.671 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002189/1.217, allocations: 1.362 MB / 0.6723 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0116/1.229, allocations: 1.797 MB / 0.674 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1075/1.336, allocations: 29.47 MB / 0.7028 GB, free: 3.844 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001261/1.338, allocations: 23.8 kB / 0.7029 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01078/1.348, allocations: 0.7411 MB / 0.7036 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001305/1.35, allocations: 0.9907 MB / 0.7045 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6702/2.02, allocations: 27.18 MB / 0.7311 GB, free: 118.2 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1652/2.185, allocations: 94.31 MB / 0.8232 GB, free: 38.88 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03746/2.223, allocations: 51.93 MB / 0.8739 GB, free: 14.05 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01424/2.237, allocations: 7.334 MB / 0.8811 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04495/2.282, allocations: 20.22 MB / 0.9008 GB, free: 2.652 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.745e-05/2.282, allocations: 104.5 kB / 0.9009 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=683): time 9.338e-06/2.282, allocations: 0 / 0.9009 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of matching and sorting (n=691): time 0.497/2.779, allocations: 43.05 MB / 0.9429 GB, free: 150 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/2.779, allocations: 149.8 kB / 0.9431 GB, free: 149.9 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/2.792, allocations: 7.053 MB / 0.95 GB, free: 147.3 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.001791/2.794, allocations: 138.5 kB / 0.9501 GB, free: 147.2 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.006516/2.801, allocations: 7.799 MB / 0.9577 GB, free: 141.4 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0037/2.805, allocations: 2.344 MB / 0.96 GB, free: 139.6 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/2.806, allocations: 193.5 kB / 0.9602 GB, free: 139.4 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0008017/2.806, allocations: 0.6926 MB / 0.9609 GB, free: 139 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008521/2.815, allocations: 4.873 MB / 0.9656 GB, free: 136.7 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/2.827, allocations: 8.356 MB / 0.9738 GB, free: 129.4 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/2.838, allocations: 6.582 MB / 0.9802 GB, free: 125.7 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/2.838, allocations: 32 kB / 0.9802 GB, free: 125.7 MB / 0.5139 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03168/2.87, allocations: 16.1 MB / 0.996 GB, free: 109.4 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/2.87, allocations: 52.81 kB / 0.996 GB, free: 109.3 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/2.87, allocations: 112 kB / 0.9961 GB, free: 109.2 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005633/2.876, allocations: 2.578 MB / 0.9986 GB, free: 106.6 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008624/2.884, allocations: 2.098 MB / 1.001 GB, free: 104.5 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03107/2.916, allocations: 28.58 MB / 1.029 GB, free: 74.92 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009612/2.925, allocations: 0.5346 MB / 1.029 GB, free: 74.38 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0023/2.928, allocations: 456 kB / 1.03 GB, free: 73.94 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 8 {(1,100.0%) 1,(18,41.7%) 100,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01365/2.941, allocations: 6.76 MB / 1.036 GB, free: 67.16 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001952/2.943, allocations: 0.764 MB / 1.037 GB, free: 66.39 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02161/2.965, allocations: 13.16 MB / 1.05 GB, free: 53.01 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01328/2.978, allocations: 8.264 MB / 1.058 GB, free: 44.65 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/2.978, allocations: 28 kB / 1.058 GB, free: 44.62 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000152/2.979, allocations: 39.81 kB / 1.058 GB, free: 44.58 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05372/3.032, allocations: 28.06 MB / 1.085 GB, free: 16.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/3.032, allocations: 4 kB / 1.085 GB, free: 16.32 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004958/3.037, allocations: 1.112 MB / 1.086 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005833/3.043, allocations: 2.623 MB / 1.089 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001126/3.044, allocations: 155.9 kB / 1.089 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3411/3.385, allocations: 32.95 MB / 1.121 GB, free: 125.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/3.385, allocations: 4.031 kB / 1.121 GB, free: 125.4 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03725/3.423, allocations: 18.87 MB / 1.14 GB, free: 118.5 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006021/3.429, allocations: 1.769 MB / 1.141 GB, free: 117.9 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002869/3.432, allocations: 127.3 kB / 1.142 GB, free: 117.8 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006432/3.438, allocations: 416.3 kB / 1.142 GB, free: 117.7 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002649/3.441, allocations: 0.5264 MB / 1.142 GB, free: 117.7 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008038/3.442, allocations: 198.6 kB / 1.143 GB, free: 117.6 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.01195/3.454, allocations: 4.733 MB / 1.147 GB, free: 115.9 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.61e-07/3.454, allocations: 3.938 kB / 1.147 GB, free: 115.9 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.01809/3.472, allocations: 3.059 MB / 1.15 GB, free: 115.6 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.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 simulation (563): * Single equations (assignments): 548 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(18,41.7%) 100} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0024/3.474, allocations: 366 kB / 1.151 GB, free: 115.4 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.02605/3.5, allocations: 13.39 MB / 1.164 GB, free: 109.6 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/3.5, allocations: 3.062 kB / 1.164 GB, free: 109.6 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0166/3.517, allocations: 7.584 MB / 1.171 GB, free: 105.6 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01869/3.536, allocations: 2.06 MB / 1.173 GB, free: 103.9 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08575/3.622, allocations: 37.97 MB / 1.21 GB, free: 68.88 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02665/3.648, allocations: 11 MB / 1.221 GB, free: 59.76 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004777/3.653, allocations: 0.636 MB / 1.222 GB, free: 59.12 MB / 0.5139 GB Notification: Performance of SimCode: time 1.282e-06/3.653, allocations: 0 / 1.222 GB, free: 59.12 MB / 0.5139 GB Notification: Performance of Templates: time 3.604/7.257, allocations: 1.226 GB / 2.447 GB, free: 77.29 MB / 0.5764 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.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_StartCalcHelperMain.o OMCppHanserModelica_HanserModelica.InductionMachines.IMS_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.InductionMachines.IMS_StartCalcHelperMain.o] Error 1