Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.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/Complex 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/EHPTlib main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(EHPTlib.ElectricDrives.SMArelated.MTPAa,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa") translateModel(EHPTlib.ElectricDrives.SMArelated.MTPAa,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000975/0.0009749, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008095/0.0008097, allocations: 174.9 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.149/0.149, allocations: 8.608 MB / 300.3 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002621, allocations: 8 kB / 363.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.07878, allocations: 52.32 MB / 415.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.SMArelated.MTPAa): time 0.001214/0.08002, allocations: 1.227 MB / 416.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002245/0.08025, allocations: 107.7 kB / 416.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.08029, allocations: 0 / 416.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.08031, allocations: 3.984 kB / 416.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.08046, allocations: 23.84 kB / 416.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.798e-05/0.08053, allocations: 35.94 kB / 416.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.08065, allocations: 95.61 kB / 416.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.0807, allocations: 7.984 kB / 417 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.08075, allocations: 51.83 kB / 417 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.08087, allocations: 75.7 kB / 417.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.0809, allocations: 4 kB / 417.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.08092, allocations: 8 kB / 417.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.08095, allocations: 23.91 kB / 417.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.08099, allocations: 45.64 kB / 417.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.278e-05/0.08105, allocations: 40.14 kB / 417.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.08106, allocations: 0 / 417.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.08106, allocations: 0 / 417.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.08107, allocations: 0 / 417.2 MB, free: 7.426 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006176/0.0817, allocations: 419 kB / 417.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.08173, allocations: 8.031 kB / 417.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.08177, allocations: 15.91 kB / 417.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.0819, allocations: 178.8 kB / 417.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.08197, allocations: 49.67 kB / 417.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.082, allocations: 4 kB / 417.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.08232, allocations: 173.4 kB / 418 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.08233, allocations: 0 / 418 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.08235, allocations: 0 / 418 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.08236, allocations: 4 kB / 418 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.08264, allocations: 134 kB / 418.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.0829, allocations: 253.4 kB / 418.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.08353, allocations: 270.4 kB / 418.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.08377, allocations: 136.7 kB / 418.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.08381, allocations: 0.5156 kB / 418.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.08383, allocations: 42.52 kB / 418.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.112e-06/0.08384, allocations: 4 kB / 418.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.003556/0.0874, allocations: 1.211 MB / 420.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.08744, allocations: 51.41 kB / 420.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.08753, allocations: 117.8 kB / 420.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.08756, allocations: 29.7 kB / 420.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.08761, allocations: 99.94 kB / 420.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.08766, allocations: 63.03 kB / 420.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/0.08768, allocations: 4 kB / 420.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.08778, allocations: 326.8 kB / 420.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.08798, allocations: 99.92 kB / 420.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.08819, allocations: 102.5 kB / 420.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.08839, allocations: 99.94 kB / 421 MB, free: 3.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.0884, allocations: 0 / 421 MB, free: 3.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001888/0.0903, allocations: 0.6532 MB / 421.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.09032, allocations: 7.953 kB / 421.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.09033, allocations: 8 kB / 421.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.09171, allocations: 333.3 kB / 422 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.09207, allocations: 115.9 kB / 422.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1476/0.2397, allocations: 3.706 MB / 425.9 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.2399, allocations: 30.42 kB / 425.9 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.2399, allocations: 11.8 kB / 425.9 MB, free: 40.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 2,2 1} Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/0.24, allocations: 124.1 kB / 426 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.24, allocations: 13.66 kB / 426 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.2417, allocations: 0.7305 MB / 426.8 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2418, allocations: 6.609 kB / 426.8 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.2418, allocations: 0 / 426.8 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2418, allocations: 0.5625 kB / 426.8 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.2419, allocations: 268.7 kB / 427 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2419, allocations: 4.469 kB / 427 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.2423, allocations: 113.2 kB / 427.1 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.2434, allocations: 356.2 kB / 427.5 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2434, allocations: 3.938 kB / 427.5 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.2474, allocations: 3.906 MB / 431.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2474, allocations: 1.75 kB / 431.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.249, allocations: 0.7292 MB / 432.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.2491, allocations: 92.05 kB / 432.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.2491, allocations: 6.875 kB / 432.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2492, allocations: 22.62 kB / 432.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.2493, allocations: 42.7 kB / 432.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2493, allocations: 8.406 kB / 432.3 MB, free: 36.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.975e-05/0.2494, allocations: 95.86 kB / 432.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2494, allocations: 0 / 432.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.2496, allocations: 64.22 kB / 432.5 MB, free: 36.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 4,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 5.979e-05/0.2497, allocations: 95.47 kB / 432.5 MB, free: 36.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.2507, allocations: 0.6418 MB / 433.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2507, allocations: 0 / 433.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.2515, allocations: 0.5542 MB / 433.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.2516, allocations: 15.92 kB / 433.8 MB, free: 36.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.2522, allocations: 448.1 kB / 434.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.654e-05/0.2523, allocations: 0.7193 MB / 434.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.2523, allocations: 13.97 kB / 434.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2523, allocations: 1.875 kB / 434.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of Templates: time 0.003438/0.2557, allocations: 2.802 MB / 437.7 MB, free: 35.06 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.makefile make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAa.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 OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAaCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAaCalcHelperMain.o] Error 1