Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_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.001175/0.001175, allocations: 98.47 kB / 17.96 MB, free: 5.77 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.001589/0.001589, allocations: 174.3 kB / 18.86 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 225 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005524/0.0005522, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002937/0.1361, allocations: 1.231 MB / 330.8 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.1389, allocations: 0.9031 MB / 331.7 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.355e-05/0.139, allocations: 0 / 331.7 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1392, allocations: 7.938 kB / 331.7 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.1393, allocations: 19.86 kB / 331.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1397, allocations: 39.95 kB / 331.8 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1399, allocations: 115.7 kB / 331.9 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1401, allocations: 19.98 kB / 331.9 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005979/0.1407, allocations: 379.3 kB / 332.3 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1409, allocations: 71.62 kB / 332.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.1409, allocations: 4 kB / 332.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.953e-05/0.141, allocations: 8 kB / 332.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1411, allocations: 55.77 kB / 332.4 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1413, allocations: 136.9 kB / 332.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.1417, allocations: 283.3 kB / 332.9 MB, free: 500 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1417, allocations: 0 / 332.9 MB, free: 500 kB / 270.1 MB Notification: Performance of FrontEnd: time 5.15e-06/0.1417, allocations: 0 / 332.9 MB, free: 500 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1417, allocations: 0 / 332.9 MB, free: 500 kB / 270.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.001015/0.1428, allocations: 0.657 MB / 333.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/0.1428, allocations: 12.03 kB / 333.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.343e-05/0.1429, allocations: 36.47 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1434, allocations: 278.3 kB / 333.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.1434, allocations: 8.375 kB / 333.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.1434, allocations: 12.31 kB / 333.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.1438, allocations: 133.9 kB / 334 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1439, allocations: 0 / 334 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1439, allocations: 11.92 kB / 334 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1439, allocations: 0 / 334 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1441, allocations: 55.97 kB / 334.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.1449, allocations: 464.5 kB / 334.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1451, allocations: 94.55 kB / 334.6 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1453, allocations: 80.89 kB / 334.7 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1454, allocations: 7.984 kB / 334.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.1458, allocations: 210.5 kB / 334.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1458, allocations: 0 / 334.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.00101/0.1468, allocations: 468.1 kB / 335.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/0.147, allocations: 162.2 kB / 335.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/0.1478, allocations: 0.5091 MB / 336 MB, free: 13.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.1479, allocations: 37.69 kB / 336 MB, free: 13.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.148, allocations: 97.05 kB / 336.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.1481, allocations: 35.58 kB / 336.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.1481, allocations: 25.72 kB / 336.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1484, allocations: 330.8 kB / 336.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1485, allocations: 51.97 kB / 336.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1487, allocations: 81.33 kB / 336.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.1491, allocations: 339.2 kB / 337 MB, free: 11.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1491, allocations: 0 / 337 MB, free: 11.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007155/0.1499, allocations: 376.3 kB / 337.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.15, allocations: 126.8 kB / 337.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1501, allocations: 128 / 337.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.1501, allocations: 4 kB / 337.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-05/0.1501, allocations: 4 kB / 337.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.1502, allocations: 3.938 kB / 337.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.1504, allocations: 19.89 kB / 337.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.1505, allocations: 36.11 kB / 337.5 MB, free: 11.38 MB / 286.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,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005204/0.151, allocations: 370.2 kB / 337.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.1511, allocations: 35.62 kB / 337.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1512, allocations: 71.12 kB / 338 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.1513, allocations: 0 / 338 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1513, allocations: 0 / 338 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1513, allocations: 0 / 338 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.1526, allocations: 0.8138 MB / 338.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1526, allocations: 3.938 kB / 338.8 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-06/0.1526, allocations: 0 / 338.8 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1526, allocations: 0 / 338.8 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.1527, allocations: 15.98 kB / 338.8 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1527, allocations: 4 kB / 338.8 MB, free: 9.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1527, allocations: 3.938 kB / 338.9 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.1535, allocations: 0.5251 MB / 339.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/0.154, allocations: 252.3 kB / 339.6 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.1541, allocations: 12 kB / 339.6 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1542, allocations: 8 kB / 339.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.1544, allocations: 35.91 kB / 339.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.1545, allocations: 47.92 kB / 339.7 MB, free: 9.016 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005675/0.1551, allocations: 378.9 kB / 340.1 MB, free: 8.648 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1551, allocations: 0 / 340.1 MB, free: 8.648 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1554, allocations: 48 kB / 340.1 MB, free: 8.602 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002565/0.1556, allocations: 123.1 kB / 340.3 MB, free: 8.473 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007016/0.1564, allocations: 433.5 kB / 340.7 MB, free: 8 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1564, allocations: 4.062 kB / 340.7 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.1568, allocations: 373.6 kB / 341.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007626/0.1576, allocations: 113.4 kB / 341.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1592, allocations: 0.8032 MB / 342 MB, free: 6.637 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.1598, allocations: 0.8061 MB / 342.8 MB, free: 5.805 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.1599, allocations: 11.44 kB / 342.8 MB, free: 5.793 MB / 286.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1599, allocations: 0 / 342.8 MB, free: 5.793 MB / 286.1 MB Notification: Performance of Templates: time 0.005893/0.1658, allocations: 2.56 MB / 345.3 MB, free: 3.207 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3SCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3SCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3SCalcHelperMain.o] Error 1