Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000823/0.0008234, allocations: 101.7 kB / 15.71 MB, free: 460 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.518/1.518, allocations: 223.3 MB / 239.7 MB, free: 5.633 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.001292/0.001292, allocations: 192.5 kB / 290.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.0341/0.0341, allocations: 8.781 MB / 350.8 MB, free: 4.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004275, allocations: 11.34 kB / 413.8 MB, free: 43.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 52.56 MB / 466.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01311/0.1444, allocations: 11.54 MB / 477.9 MB, free: 2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009177/0.1537, allocations: 4.02 MB / 481.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.1562, allocations: 79.62 kB / 482 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.1589, allocations: 0.7691 MB / 482.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004361/0.1633, allocations: 1.057 MB / 483.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.1653, allocations: 0.5803 MB / 484.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006127/0.1715, allocations: 4.054 MB / 488.5 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003368/0.1749, allocations: 2.425 MB / 490.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.1779, allocations: 1.304 MB / 492.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/0.1807, allocations: 1.626 MB / 493.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.1812, allocations: 216 kB / 494 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.1826, allocations: 391.8 kB / 494.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007837/0.1834, allocations: 0.7707 MB / 495.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.1845, allocations: 0.7539 MB / 495.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005823/0.1903, allocations: 5.641 MB / 0.4898 GB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1904, allocations: 0 / 0.4898 GB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1904, allocations: 4 kB / 0.4898 GB, free: 10.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001772/0.1906, allocations: 4 kB / 0.4898 GB, free: 10.19 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.009739/0.2003, allocations: 3.783 MB / 0.4935 GB, free: 6.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2004, allocations: 8.031 kB / 0.4935 GB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/0.2048, allocations: 0.8348 MB / 0.4943 GB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.2097, allocations: 2.313 MB / 0.4966 GB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.2099, allocations: 246.7 kB / 0.4968 GB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005582/0.2105, allocations: 327.9 kB / 0.4972 GB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008162/0.2186, allocations: 4.504 MB / 0.5016 GB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.685e-05/0.2187, allocations: 7.891 kB / 0.5016 GB, free: 14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.219, allocations: 136 kB / 0.5017 GB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.2192, allocations: 154.7 kB / 0.5018 GB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006933/0.2261, allocations: 3.805 MB / 0.5056 GB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/0.2514, allocations: 14.25 MB / 0.5195 GB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006207/0.2577, allocations: 6.145 MB / 0.5255 GB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.2597, allocations: 1.221 MB / 0.5267 GB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3053/0.565, allocations: 3.311 MB / 0.5299 GB, free: 63.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.5651, allocations: 41.59 kB / 0.5299 GB, free: 63.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=115): time 4.288e-06/0.5651, allocations: 0 / 0.5299 GB, free: 63.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.0114/0.5765, allocations: 5.327 MB / 0.5351 GB, free: 62.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.5766, allocations: 64.09 kB / 0.5352 GB, free: 62.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/0.58, allocations: 1.668 MB / 0.5368 GB, free: 61.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.5802, allocations: 49.92 kB / 0.5369 GB, free: 61.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.5816, allocations: 1.492 MB / 0.5383 GB, free: 61.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/0.582, allocations: 418.3 kB / 0.5387 GB, free: 60.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.5821, allocations: 36.06 kB / 0.5388 GB, free: 60.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5822, allocations: 370.3 kB / 0.5391 GB, free: 60.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.5834, allocations: 0.6281 MB / 0.5397 GB, free: 60.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.585, allocations: 1.135 MB / 0.5408 GB, free: 59.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.5865, allocations: 0.8453 MB / 0.5417 GB, free: 59.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.5865, allocations: 5.5 kB / 0.5417 GB, free: 59.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004773/0.5913, allocations: 2.198 MB / 0.5438 GB, free: 59.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.5914, allocations: 12.58 kB / 0.5438 GB, free: 59.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/0.5914, allocations: 19.89 kB / 0.5438 GB, free: 59.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000451/0.5919, allocations: 141.5 kB / 0.544 GB, free: 59.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.5934, allocations: 396.8 kB / 0.5444 GB, free: 59.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.5959, allocations: 3.084 MB / 0.5474 GB, free: 56.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.5974, allocations: 81.38 kB / 0.5475 GB, free: 56.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.5976, allocations: 68.58 kB / 0.5475 GB, free: 56.8 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.002401/0.6, allocations: 1.044 MB / 0.5485 GB, free: 56.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005262/0.6005, allocations: 177.3 kB / 0.5487 GB, free: 56.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.6044, allocations: 2.057 MB / 0.5507 GB, free: 55.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.6044, allocations: 15.58 kB / 0.5507 GB, free: 55.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.6044, allocations: 10.31 kB / 0.5507 GB, free: 55.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.6045, allocations: 5.953 kB / 0.5507 GB, free: 55.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007656/0.6121, allocations: 4.794 MB / 0.5554 GB, free: 53.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.6122, allocations: 0.8906 kB / 0.5554 GB, free: 53.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.6128, allocations: 168.1 kB / 0.5556 GB, free: 53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009838/0.6138, allocations: 453.4 kB / 0.556 GB, free: 52.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.6139, allocations: 27.77 kB / 0.556 GB, free: 52.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008153/0.622, allocations: 10.09 MB / 0.5659 GB, free: 44.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6221, allocations: 8.031 kB / 0.5659 GB, free: 44.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/0.6265, allocations: 2.879 MB / 0.5687 GB, free: 42.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000956/0.6275, allocations: 397.7 kB / 0.5691 GB, free: 41.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.6277, allocations: 31.39 kB / 0.5691 GB, free: 41.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/0.6284, allocations: 68.98 kB / 0.5692 GB, free: 41.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.6287, allocations: 101.6 kB / 0.5693 GB, free: 41.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.6288, allocations: 31.25 kB / 0.5693 GB, free: 41.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001659/0.6304, allocations: 1.139 MB / 0.5704 GB, free: 41.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6305, allocations: 0 / 0.5704 GB, free: 41.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002238/0.6327, allocations: 0.5474 MB / 0.571 GB, free: 40.88 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.0003018/0.633, allocations: 152.6 kB / 0.5711 GB, free: 40.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.6357, allocations: 1.839 MB / 0.5729 GB, free: 38.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.6357, allocations: 0 / 0.5729 GB, free: 38.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.6377, allocations: 1.497 MB / 0.5744 GB, free: 37.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.6404, allocations: 0.5158 MB / 0.5749 GB, free: 36.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009529/0.65, allocations: 6.875 MB / 0.5816 GB, free: 29.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.6517, allocations: 2.304 MB / 0.5838 GB, free: 27.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.6522, allocations: 131.4 kB / 0.584 GB, free: 27.42 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6523, allocations: 0 / 0.584 GB, free: 27.42 MB / 366.1 MB Notification: Performance of Templates: time 0.1205/0.7728, allocations: 104.6 MB / 0.6861 GB, free: 2.824 MB / 446.1 MB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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_Inverter1CalcHelperMain.o OMCppHanserModelica_HanserModelica.InductionMachines.IMC_Inverter1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.InductionMachines.IMC_Inverter1CalcHelperMain.o] Error 1