Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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) 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(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 92.41 kB / 16.95 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000926/0.0009262, allocations: 179.8 kB / 17.84 MB, free: 5.324 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.72/1.72, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 8 kB / 301.4 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 50.43 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001852/0.1374, allocations: 1.196 MB / 353.1 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1393, allocations: 0.8082 MB / 353.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.1394, allocations: 0 / 353.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.537e-05/0.1395, allocations: 11.92 kB / 353.9 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.1396, allocations: 15.91 kB / 353.9 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1399, allocations: 39.91 kB / 353.9 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1401, allocations: 107.7 kB / 354 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1402, allocations: 12 kB / 354.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000508/0.1407, allocations: 351.4 kB / 354.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1409, allocations: 71.77 kB / 354.5 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.1409, allocations: 8 kB / 354.5 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.605e-05/0.141, allocations: 7.938 kB / 354.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.141, allocations: 63.77 kB / 354.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.1411, allocations: 69.58 kB / 354.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.1415, allocations: 291.3 kB / 354.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1415, allocations: 0 / 354.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1415, allocations: 0 / 354.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1415, allocations: 0 / 354.9 MB, free: 0.9766 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007933/0.1423, allocations: 0.6569 MB / 355.6 MB, free: 252 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1423, allocations: 8.031 kB / 355.6 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.1424, allocations: 47.53 kB / 355.6 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1428, allocations: 257.3 kB / 355.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.1428, allocations: 11.98 kB / 355.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1429, allocations: 8 kB / 355.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.1432, allocations: 121.6 kB / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1432, allocations: 0 / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.1432, allocations: 7.953 kB / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1432, allocations: 0 / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1434, allocations: 55.97 kB / 356.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.1441, allocations: 464.6 kB / 356.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1443, allocations: 98.5 kB / 356.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1445, allocations: 80.89 kB / 356.7 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1445, allocations: 0 / 356.7 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.1449, allocations: 217.5 kB / 356.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.1449, allocations: 0 / 356.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008399/0.1457, allocations: 468.2 kB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.1458, allocations: 170.2 kB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.1465, allocations: 0.5129 MB / 358 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1466, allocations: 33.7 kB / 358.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.1466, allocations: 101.1 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1467, allocations: 31.66 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.1467, allocations: 3.938 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1469, allocations: 326.8 kB / 358.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.147, allocations: 59.95 kB / 358.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1472, allocations: 76.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1474, allocations: 161.9 kB / 358.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1474, allocations: 0 / 358.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005284/0.1479, allocations: 388.2 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.653e-05/0.148, allocations: 122.8 kB / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.148, allocations: 0 / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1481, allocations: 0 / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.203e-05/0.1481, allocations: 4 kB / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.1481, allocations: 3.984 kB / 359.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.1483, allocations: 15.91 kB / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.1484, allocations: 40 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003665/0.1487, allocations: 366.3 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.1488, allocations: 39.7 kB / 359.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.1489, allocations: 67.12 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1489, allocations: 4 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1489, allocations: 0 / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1489, allocations: 0 / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/0.1499, allocations: 0.8095 MB / 360.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.15, allocations: 0 / 360.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-06/0.15, allocations: 0 / 360.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.15, allocations: 4 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.15, allocations: 15.98 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.15, allocations: 0 / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.15, allocations: 0 / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.1507, allocations: 0.5252 MB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.1511, allocations: 260.3 kB / 361.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.1511, allocations: 8 kB / 361.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1513, allocations: 15.98 kB / 361.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.1514, allocations: 31.95 kB / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.1515, allocations: 43.94 kB / 361.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005131/0.152, allocations: 390.8 kB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.152, allocations: 0 / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.1523, allocations: 47.94 kB / 362 MB, free: 9.332 MB / 302.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001553/0.1525, allocations: 111 kB / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.1531, allocations: 437.5 kB / 362.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1531, allocations: 4.062 kB / 362.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.1534, allocations: 377.6 kB / 362.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.154, allocations: 101.5 kB / 363 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1553, allocations: 0.7756 MB / 363.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.1558, allocations: 0.8102 MB / 364.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1559, allocations: 11.44 kB / 364.6 MB, free: 6.559 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1559, allocations: 3.938 kB / 364.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of Templates: time 0.005636/0.1615, allocations: 2.571 MB / 367.2 MB, free: 3.977 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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 OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3SCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3SCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3SCalcHelperMain.o] Error 1