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.000772/0.0007721, allocations: 94.61 kB / 17.58 MB, free: 5.801 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.0008692/0.0008692, allocations: 185.2 kB / 18.48 MB, free: 5.25 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.914/1.914, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004835/0.0004835, allocations: 12 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1274, allocations: 47.57 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001573/0.129, allocations: 1.206 MB / 330.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1308, allocations: 0.8435 MB / 331 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.1308, allocations: 4 kB / 331 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.464e-05/0.1309, allocations: 11.92 kB / 331 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.131, allocations: 11.94 kB / 331.1 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1312, allocations: 39.89 kB / 331.1 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1314, allocations: 107.8 kB / 331.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.1315, allocations: 19.92 kB / 331.2 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.1319, allocations: 347.4 kB / 331.6 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1321, allocations: 75.81 kB / 331.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.1321, allocations: 8 kB / 331.6 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.1321, allocations: 4 kB / 331.6 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.1322, allocations: 63.77 kB / 331.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.1323, allocations: 73.52 kB / 331.8 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1326, allocations: 279.3 kB / 332.1 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1326, allocations: 0 / 332.1 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1326, allocations: 4 kB / 332.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1326, allocations: 0 / 332.1 MB, free: 0.9727 MB / 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.0006631/0.1333, allocations: 0.6607 MB / 332.7 MB, free: 244 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1333, allocations: 16.03 kB / 332.7 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.1334, allocations: 35.53 kB / 332.8 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1337, allocations: 265.3 kB / 333 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1337, allocations: 4 kB / 333 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1338, allocations: 8 kB / 333 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.1341, allocations: 129.6 kB / 333.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.1341, allocations: 0 / 333.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1341, allocations: 8 kB / 333.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1341, allocations: 3.984 kB / 333.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1343, allocations: 59.91 kB / 333.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.135, allocations: 460.6 kB / 333.7 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1353, allocations: 90.55 kB / 333.8 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1354, allocations: 88.83 kB / 333.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.1355, allocations: 3.938 kB / 333.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.1359, allocations: 202.7 kB / 334.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1359, allocations: 0 / 334.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008401/0.1368, allocations: 467.9 kB / 334.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.1369, allocations: 166.2 kB / 334.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.1376, allocations: 0.5168 MB / 335.2 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1377, allocations: 33.64 kB / 335.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.1378, allocations: 101 kB / 335.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1378, allocations: 31.66 kB / 335.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.1379, allocations: 8 kB / 335.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.138, allocations: 322.8 kB / 335.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1382, allocations: 51.97 kB / 335.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1383, allocations: 81.33 kB / 335.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1385, allocations: 162.9 kB / 336 MB, free: 12.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1385, allocations: 3.938 kB / 336 MB, free: 12.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005202/0.1391, allocations: 380.4 kB / 336.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.296e-05/0.1392, allocations: 122.8 kB / 336.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.1392, allocations: 4 kB / 336.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1392, allocations: 0 / 336.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.272e-05/0.1392, allocations: 0 / 336.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1393, allocations: 0 / 336.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1394, allocations: 23.89 kB / 336.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.1395, allocations: 43.95 kB / 336.5 MB, free: 12.11 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,$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.0003889/0.1399, allocations: 362.3 kB / 336.9 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.1399, allocations: 35.75 kB / 336.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.14, allocations: 71.12 kB / 337 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1401, allocations: 8 kB / 337 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1401, allocations: 0 / 337 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1401, allocations: 0 / 337 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009724/0.1411, allocations: 0.806 MB / 337.8 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1411, allocations: 0 / 337.8 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-06/0.1411, allocations: 0 / 337.8 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1411, allocations: 4 kB / 337.8 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.1411, allocations: 19.98 kB / 337.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1411, allocations: 3.938 kB / 337.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1411, allocations: 0 / 337.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/0.1417, allocations: 0.5212 MB / 338.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.1421, allocations: 252.4 kB / 338.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.62e-05/0.1421, allocations: 12 kB / 338.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1423, allocations: 19.94 kB / 338.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1424, allocations: 23.97 kB / 338.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.1424, allocations: 51.86 kB / 338.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004342/0.1429, allocations: 386.9 kB / 339.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.664e-06/0.1429, allocations: 0 / 339.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1432, allocations: 47.89 kB / 339.1 MB, free: 9.328 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 (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.0001533/0.1433, allocations: 126.9 kB / 339.3 MB, free: 9.195 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.1438, allocations: 437.5 kB / 339.7 MB, free: 8.719 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1439, allocations: 4.062 kB / 339.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.1442, allocations: 369.6 kB / 340 MB, free: 8.305 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.1447, allocations: 105.5 kB / 340.2 MB, free: 8.199 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1458, allocations: 0.7756 MB / 340.9 MB, free: 7.395 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1463, allocations: 0.7985 MB / 341.7 MB, free: 6.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.1463, allocations: 11.44 kB / 341.7 MB, free: 6.559 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1463, allocations: 0 / 341.7 MB, free: 6.559 MB / 286.1 MB Notification: Performance of Templates: time 0.00432/0.1506, allocations: 2.562 MB / 344.3 MB, free: 3.973 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++ 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_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