Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalExperimental.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.MTPAalExperimental,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalExperimental") translateModel(EHPTlib.ElectricDrives.SMArelated.MTPAalExperimental,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalExperimental") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008517, allocations: 102.6 kB / 15.71 MB, free: 460 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.0008283/0.0008282, allocations: 176.2 kB / 16.58 MB, free: 6.863 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.4/1.4, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1497/0.1497, allocations: 8.606 MB / 300.3 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002346, allocations: 11.98 kB / 363.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07721/0.07745, allocations: 52.32 MB / 415.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.SMArelated.MTPAalExperimental): time 0.001834/0.07932, allocations: 1.783 MB / 417.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.08011, allocations: 0.6004 MB / 417.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.0802, allocations: 3.938 kB / 417.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.08024, allocations: 15.84 kB / 417.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.08042, allocations: 43.7 kB / 417.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.08062, allocations: 99.86 kB / 418 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.08087, allocations: 242.9 kB / 418.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.08098, allocations: 52.55 kB / 418.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.08107, allocations: 75.7 kB / 418.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.08122, allocations: 115.4 kB / 418.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.08126, allocations: 15.94 kB / 418.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.08129, allocations: 8 kB / 418.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.08134, allocations: 43.81 kB / 418.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.08138, allocations: 57.58 kB / 418.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.08153, allocations: 147.8 kB / 418.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.08154, allocations: 4 kB / 418.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08155, allocations: 0 / 418.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.08156, allocations: 0 / 418.8 MB, free: 5.863 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008016/0.08236, allocations: 0.5297 MB / 419.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.0824, allocations: 8.031 kB / 419.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.08246, allocations: 35.61 kB / 419.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.08269, allocations: 238.6 kB / 419.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.08277, allocations: 49.7 kB / 419.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.08281, allocations: 19.98 kB / 419.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.08329, allocations: 287 kB / 419.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.08331, allocations: 0 / 419.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.08334, allocations: 11.95 kB / 419.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.08335, allocations: 4 kB / 419.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.0838, allocations: 243.4 kB / 420.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.08488, allocations: 0.7186 MB / 420.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.08595, allocations: 474.4 kB / 421.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.08628, allocations: 180.8 kB / 421.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.08632, allocations: 4 kB / 421.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.08634, allocations: 30.56 kB / 421.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.172e-06/0.08635, allocations: 4 kB / 421.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006502/0.09286, allocations: 2.032 MB / 423.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.09291, allocations: 89.05 kB / 423.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.09308, allocations: 191.8 kB / 423.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.09311, allocations: 33.7 kB / 423.9 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.09319, allocations: 140.3 kB / 424 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.09326, allocations: 82.75 kB / 424.1 MB, free: 252 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.09328, allocations: 4 kB / 424.1 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1392/0.2325, allocations: 331.6 kB / 424.4 MB, free: 41.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.2328, allocations: 138.7 kB / 424.6 MB, free: 41.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.2331, allocations: 175.1 kB / 424.7 MB, free: 41.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.2334, allocations: 139.1 kB / 424.9 MB, free: 41.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2334, allocations: 5.609 kB / 424.9 MB, free: 41.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002784/0.2362, allocations: 1.071 MB / 426 MB, free: 41.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.2362, allocations: 101.9 kB / 426.1 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2362, allocations: 3.953 kB / 426.1 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.238, allocations: 498.1 kB / 426.6 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2381, allocations: 59.34 kB / 426.6 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006082/0.2442, allocations: 4.02 MB / 430.6 MB, free: 39.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.2445, allocations: 46.78 kB / 430.7 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2445, allocations: 13.11 kB / 430.7 MB, free: 39.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-06/0.2445, allocations: 3 kB / 430.7 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002485/0.247, allocations: 0.9242 MB / 431.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-06/0.247, allocations: 0 / 431.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.2486, allocations: 462.8 kB / 432.1 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2488, allocations: 68.31 kB / 432.1 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.2544, allocations: 3.76 MB / 435.9 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.2546, allocations: 40.5 kB / 435.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2546, allocations: 14.56 kB / 435.9 MB, free: 37.96 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: pi.x:VARIABLE(start = pi.x_start fixed = true ) "State of block" type: Real firstOrder1.y:VARIABLE(flow=false start = firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.2548, allocations: 211.7 kB / 436.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.2548, allocations: 21.78 kB / 436.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.2575, allocations: 1.123 MB / 437.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2575, allocations: 3.25 kB / 437.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.2575, allocations: 0.75 kB / 437.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2575, allocations: 0 / 437.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.2579, allocations: 376.2 kB / 437.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2579, allocations: 0 / 437.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.2581, allocations: 66.52 kB / 437.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.2597, allocations: 0.5005 MB / 438.2 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.2597, allocations: 6.969 kB / 438.2 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006089/0.2658, allocations: 4.193 MB / 442.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2659, allocations: 1.125 kB / 442.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.2687, allocations: 1.378 MB / 443.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.2688, allocations: 99.14 kB / 443.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.2688, allocations: 14.56 kB / 443.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.269, allocations: 39.86 kB / 444 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/0.2691, allocations: 52.59 kB / 444 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.2692, allocations: 6.5 kB / 444 MB, free: 34.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.482e-05/0.2692, allocations: 153.5 kB / 444.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2693, allocations: 0 / 444.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005873/0.2698, allocations: 155 kB / 444.3 MB, free: 34.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,pi.x) * Number of discrete variables: 1 (limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 18} Notification: Performance of Backend phase and start with SimCode phase: time 6.953e-05/0.2699, allocations: 96.62 kB / 444.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.2721, allocations: 1.276 MB / 445.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2721, allocations: 4.562 kB / 445.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.2731, allocations: 0.6284 MB / 446.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2735, allocations: 33.2 kB / 446.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.2743, allocations: 0.6952 MB / 447.1 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.2744, allocations: 0.7679 MB / 447.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.2745, allocations: 14.03 kB / 447.8 MB, free: 32.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2745, allocations: 0 / 447.8 MB, free: 32.47 MB / 350.1 MB Notification: Performance of Templates: time 0.005333/0.2798, allocations: 4.632 MB / 452.5 MB, free: 32.2 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalExperimental.makefile make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalExperimental.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.MTPAalExperimentalCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalExperimentalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalExperimentalCalcHelperMain.o] Error 1