Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.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.MTPAal,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal") translateModel(EHPTlib.ElectricDrives.SMArelated.MTPAal,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 99.59 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.001314/0.001314, allocations: 175.6 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.349/1.349, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1371/0.1371, allocations: 8.618 MB / 300.3 MB, free: 3.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 8 kB / 363.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0807/0.08098, allocations: 52.32 MB / 415.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.SMArelated.MTPAal): time 0.001753/0.08277, allocations: 1.772 MB / 417.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004496/0.08323, allocations: 275.4 kB / 417.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.08332, allocations: 0 / 417.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.08336, allocations: 15.84 kB / 417.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.08354, allocations: 43.64 kB / 417.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.08375, allocations: 103.8 kB / 417.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.08398, allocations: 235 kB / 417.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.0841, allocations: 44.56 kB / 417.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.08418, allocations: 83.62 kB / 418 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.08433, allocations: 111.5 kB / 418.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.08436, allocations: 12 kB / 418.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.352e-05/0.08439, allocations: 8 kB / 418.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.08443, allocations: 39.83 kB / 418.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.08448, allocations: 57.58 kB / 418.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.08461, allocations: 147.9 kB / 418.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.08463, allocations: 3.938 kB / 418.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08463, allocations: 0 / 418.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.08464, allocations: 4 kB / 418.4 MB, free: 6.246 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007937/0.08544, allocations: 0.5299 MB / 418.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.08547, allocations: 8.031 kB / 418.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.08553, allocations: 27.72 kB / 419 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.08576, allocations: 234.6 kB / 419.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/0.08584, allocations: 54.02 kB / 419.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.08589, allocations: 15.94 kB / 419.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.08637, allocations: 286.1 kB / 419.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.08638, allocations: 0 / 419.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.08641, allocations: 11.95 kB / 419.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.08642, allocations: 4 kB / 419.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.08688, allocations: 236.4 kB / 419.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.08794, allocations: 0.7147 MB / 420.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/0.08874, allocations: 386.4 kB / 420.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.08906, allocations: 180.8 kB / 421 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.0891, allocations: 11.97 kB / 421.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.08913, allocations: 34.56 kB / 421.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.162e-06/0.08913, allocations: 0 / 421.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003765/0.0929, allocations: 1.359 MB / 422.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.09296, allocations: 89.11 kB / 422.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.09312, allocations: 186.6 kB / 422.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.09316, allocations: 33.7 kB / 422.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.09323, allocations: 132.3 kB / 422.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.09329, allocations: 78.77 kB / 423 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.09332, allocations: 11.94 kB / 423 MB, free: 1.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.09343, allocations: 334.8 kB / 423.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.09372, allocations: 140.1 kB / 423.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.09402, allocations: 162.1 kB / 423.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.09432, allocations: 144.6 kB / 423.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.09433, allocations: 0 / 423.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.1428/0.2371, allocations: 0.7745 MB / 424.5 MB, free: 40.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.2372, allocations: 99.45 kB / 424.6 MB, free: 40.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2372, allocations: 0 / 424.6 MB, free: 40.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.2385, allocations: 354.2 kB / 425 MB, free: 40.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.239, allocations: 135.4 kB / 425.1 MB, free: 40.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004248/0.2432, allocations: 3.94 MB / 429 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.2434, allocations: 51.53 kB / 429.1 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.2435, allocations: 8.609 kB / 429.1 MB, free: 38.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-06/0.2435, allocations: 2.781 kB / 429.1 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001784/0.2453, allocations: 0.7076 MB / 429.8 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.2453, allocations: 0 / 429.8 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.2465, allocations: 361.3 kB / 430.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.2468, allocations: 127.8 kB / 430.3 MB, free: 38.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.2509, allocations: 3.952 MB / 434.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2511, allocations: 51.28 kB / 434.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.2511, allocations: 5.562 kB / 434.3 MB, free: 35.57 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: firstOrder1.y:VARIABLE(flow=false start = firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real firstOrder.y:VARIABLE(flow=false start = firstOrder.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 (18): * Single equations (assignments): 16 * 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 0.0001228/0.2512, allocations: 213.7 kB / 434.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.2513, allocations: 22.61 kB / 434.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.2532, allocations: 0.8444 MB / 435.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2532, allocations: 3.281 kB / 435.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2532, allocations: 3.422 kB / 435.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2532, allocations: 3.953 kB / 435.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.2535, allocations: 363.3 kB / 435.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2535, allocations: 0 / 435.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.2539, allocations: 134.6 kB / 435.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.2551, allocations: 377.5 kB / 436.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.2551, allocations: 9.219 kB / 436.2 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004144/0.2593, allocations: 4.122 MB / 440.3 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2593, allocations: 0 / 440.3 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.2614, allocations: 1.095 MB / 441.4 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.2614, allocations: 99.23 kB / 441.5 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2615, allocations: 15.45 kB / 441.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.2617, allocations: 34.67 kB / 441.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.2618, allocations: 38.84 kB / 441.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.2618, allocations: 17.48 kB / 441.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.407e-05/0.2619, allocations: 139.7 kB / 441.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2619, allocations: 0 / 441.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004481/0.2624, allocations: 133.2 kB / 441.9 MB, free: 31.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder.y,firstOrder1.y) * 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 (16): * Single equations (assignments): 14 * 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 7.028e-05/0.2624, allocations: 96.47 kB / 442 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.2644, allocations: 1.304 MB / 443.3 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2644, allocations: 0 / 443.3 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.2652, allocations: 0.6052 MB / 443.9 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.2656, allocations: 28.77 kB / 443.9 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.2664, allocations: 0.7197 MB / 444.7 MB, free: 30.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2666, allocations: 0.7605 MB / 445.4 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.2666, allocations: 18.03 kB / 445.4 MB, free: 29.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2666, allocations: 7.344 kB / 445.4 MB, free: 29.97 MB / 350.1 MB Notification: Performance of Templates: time 0.005582/0.2722, allocations: 5.248 MB / 450.7 MB, free: 29.68 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.makefile make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAal.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.MTPAalCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.MTPAalCalcHelperMain.o] Error 1