Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.0009371, 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.486/1.486, allocations: 223.3 MB / 239.7 MB, free: 5.668 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.001063/0.001063, allocations: 192.5 kB / 290.9 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03365/0.03365, allocations: 8.788 MB / 350.8 MB, free: 4.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003974, allocations: 11.34 kB / 413.8 MB, free: 43.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 52.56 MB / 466.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01315/0.1428, allocations: 11.56 MB / 477.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.1539, allocations: 4.008 MB / 481.9 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.1569, allocations: 87.56 kB / 482 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.1598, allocations: 0.7691 MB / 482.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004496/0.1643, allocations: 1.053 MB / 483.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.1665, allocations: 0.5966 MB / 484.4 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0061/0.1726, allocations: 4.025 MB / 488.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.1761, allocations: 2.441 MB / 490.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.1786, allocations: 1.304 MB / 492.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.1814, allocations: 1.622 MB / 493.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.1818, allocations: 212 kB / 494 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.1832, allocations: 403.8 kB / 494.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007031/0.1839, allocations: 0.7629 MB / 495.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.185, allocations: 0.75 MB / 495.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006277/0.1913, allocations: 5.645 MB / 0.4898 GB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1914, allocations: 0 / 0.4898 GB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.1914, allocations: 0 / 0.4898 GB, free: 10.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002152/0.1916, allocations: 7.938 kB / 0.4898 GB, free: 10.23 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01151/0.2031, allocations: 3.791 MB / 0.4935 GB, free: 6.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.2032, allocations: 8.031 kB / 0.4936 GB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/0.2091, allocations: 0.8309 MB / 0.4944 GB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006149/0.2153, allocations: 2.309 MB / 0.4966 GB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.2155, allocations: 254.7 kB / 0.4969 GB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008772/0.2164, allocations: 327.9 kB / 0.4972 GB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009794/0.2262, allocations: 4.492 MB / 0.5016 GB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.378e-05/0.2263, allocations: 11.89 kB / 0.5016 GB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/0.2267, allocations: 132 kB / 0.5017 GB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.2268, allocations: 162.7 kB / 0.5019 GB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007323/0.2342, allocations: 3.802 MB / 0.5056 GB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02262/0.2568, allocations: 14.25 MB / 0.5195 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006537/0.2634, allocations: 6.138 MB / 0.5255 GB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.2657, allocations: 1.224 MB / 0.5267 GB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3035/0.5693, allocations: 3.316 MB / 0.5299 GB, free: 64.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.5694, allocations: 47.48 kB / 0.53 GB, free: 64.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 3.346e-06/0.5694, allocations: 0 / 0.53 GB, free: 64.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.01051/0.5799, allocations: 5.322 MB / 0.5352 GB, free: 62.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.58, allocations: 63.81 kB / 0.5352 GB, free: 62.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/0.583, allocations: 1.668 MB / 0.5368 GB, free: 62.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5831, allocations: 45.55 kB / 0.5369 GB, free: 62.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.5844, allocations: 1.501 MB / 0.5384 GB, free: 61.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.5848, allocations: 416.3 kB / 0.5388 GB, free: 61.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.5849, allocations: 30.25 kB / 0.5388 GB, free: 61.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5851, allocations: 367.9 kB / 0.5391 GB, free: 61.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.5863, allocations: 0.6279 MB / 0.5397 GB, free: 61.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.588, allocations: 1.137 MB / 0.5409 GB, free: 60.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.5896, allocations: 0.8448 MB / 0.5417 GB, free: 60.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.5896, allocations: 4.125 kB / 0.5417 GB, free: 60.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004564/0.5942, allocations: 2.201 MB / 0.5438 GB, free: 60.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.5942, allocations: 12.78 kB / 0.5438 GB, free: 60.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/0.5943, allocations: 19.05 kB / 0.5439 GB, free: 60.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000453/0.5947, allocations: 138.9 kB / 0.544 GB, free: 60.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.5964, allocations: 404.6 kB / 0.5444 GB, free: 60.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.5987, allocations: 3.086 MB / 0.5474 GB, free: 57.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.6002, allocations: 74.55 kB / 0.5475 GB, free: 57.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.6004, allocations: 69.16 kB / 0.5475 GB, free: 57.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (196): * Single equations (assignments): 193 * 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: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002471/0.6029, allocations: 1.049 MB / 0.5486 GB, free: 57.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/0.6034, allocations: 176.4 kB / 0.5487 GB, free: 57.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.6075, allocations: 2.059 MB / 0.5507 GB, free: 56.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.6075, allocations: 18.11 kB / 0.5508 GB, free: 56.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.6075, allocations: 6.906 kB / 0.5508 GB, free: 56.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.6075, allocations: 8.203 kB / 0.5508 GB, free: 56.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007624/0.6152, allocations: 4.789 MB / 0.5554 GB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6152, allocations: 3.844 kB / 0.5554 GB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/0.6158, allocations: 164.2 kB / 0.5556 GB, free: 53.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.6169, allocations: 442.4 kB / 0.556 GB, free: 53.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.556e-05/0.617, allocations: 35.81 kB / 0.5561 GB, free: 53.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008286/0.6253, allocations: 10.11 MB / 0.5659 GB, free: 44.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6253, allocations: 0 / 0.5659 GB, free: 44.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/0.6301, allocations: 2.877 MB / 0.5687 GB, free: 43.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/0.6311, allocations: 400.1 kB / 0.5691 GB, free: 42.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.6313, allocations: 27.56 kB / 0.5691 GB, free: 42.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/0.632, allocations: 65.17 kB / 0.5692 GB, free: 42.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/0.6323, allocations: 99.5 kB / 0.5693 GB, free: 42.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.6324, allocations: 39.77 kB / 0.5693 GB, free: 42.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001664/0.6341, allocations: 1.142 MB / 0.5705 GB, free: 42.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6341, allocations: 0 / 0.5705 GB, free: 42.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002155/0.6362, allocations: 0.5393 MB / 0.571 GB, free: 41.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (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,vfController.x,loadInertia.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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003032/0.6365, allocations: 158.1 kB / 0.5711 GB, free: 41.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002643/0.6392, allocations: 1.849 MB / 0.5729 GB, free: 39.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.6392, allocations: 0 / 0.5729 GB, free: 39.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.6411, allocations: 1.489 MB / 0.5744 GB, free: 38.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.6434, allocations: 0.5158 MB / 0.5749 GB, free: 37.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009395/0.6528, allocations: 6.873 MB / 0.5816 GB, free: 30.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.6544, allocations: 2.301 MB / 0.5839 GB, free: 28.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.655, allocations: 131.4 kB / 0.584 GB, free: 28.27 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.655, allocations: 8 kB / 0.584 GB, free: 28.27 MB / 366.1 MB Notification: Performance of Templates: time 0.1235/0.7785, allocations: 104.6 MB / 0.6861 GB, free: 3.672 MB / 446.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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_Inverter2CalcHelperMain.o OMCppHanserModelica_HanserModelica.InductionMachines.IMC_Inverter2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.InductionMachines.IMC_Inverter2CalcHelperMain.o] Error 1