Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007792/0.0007794, allocations: 87.06 kB / 17.58 MB, free: 5.508 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.0009382/0.0009383, allocations: 183.4 kB / 18.48 MB, free: 5.07 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.771/1.771, allocations: 205.4 MB / 224.6 MB, free: 13.18 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.0004802/0.0004802, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005037/0.126, allocations: 4.361 MB / 333.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.1381, allocations: 9.5 MB / 342.8 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1392, allocations: 11.94 kB / 342.9 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.1415, allocations: 0.5711 MB / 343.4 MB, free: 5.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.1455, allocations: 0.7452 MB / 344.2 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.1474, allocations: 402.9 kB / 344.6 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003004/0.1505, allocations: 1.229 MB / 345.8 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/0.1509, allocations: 159.8 kB / 345.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.1514, allocations: 234.8 kB / 346.2 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.1519, allocations: 282.2 kB / 346.5 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.467e-05/0.152, allocations: 16 kB / 346.5 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.1539, allocations: 0.6206 MB / 347.1 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.154, allocations: 87.39 kB / 347.2 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.1542, allocations: 193.1 kB / 347.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1553, allocations: 0.8881 MB / 348.3 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1554, allocations: 4 kB / 348.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.1554, allocations: 0 / 348.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.714e-05/0.1554, allocations: 7.938 kB / 348.3 MB, free: 0.7148 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002088/0.1575, allocations: 1.203 MB / 349.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1576, allocations: 8.031 kB / 349.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1577, allocations: 118.5 kB / 349.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.1588, allocations: 0.704 MB / 350.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.1588, allocations: 24.56 kB / 350.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.1589, allocations: 27.98 kB / 350.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.1595, allocations: 321.4 kB / 350.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1595, allocations: 3.938 kB / 350.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.1596, allocations: 15.97 kB / 350.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1596, allocations: 12 kB / 350.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.1602, allocations: 298.2 kB / 351 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.1622, allocations: 1.368 MB / 352.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.1629, allocations: 310.8 kB / 352.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.1633, allocations: 260.7 kB / 352.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004237/0.1676, allocations: 3.604 MB / 356.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000395/0.168, allocations: 200.3 kB / 356.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.168, allocations: 0 / 356.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001524/0.1695, allocations: 0.7589 MB / 357.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1696, allocations: 55.41 kB / 357.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/0.1705, allocations: 0.8114 MB / 358.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.1706, allocations: 29.7 kB / 358.4 MB, free: 5.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.171, allocations: 448.5 kB / 358.8 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1711, allocations: 102.6 kB / 358.9 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.1712, allocations: 8 kB / 358.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1713, allocations: 318 kB / 359.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.1716, allocations: 124.7 kB / 359.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.172, allocations: 244 kB / 359.6 MB, free: 4.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.1724, allocations: 151.9 kB / 359.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1724, allocations: 0 / 359.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009687/0.1734, allocations: 0.5443 MB / 360.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1734, allocations: 8 kB / 360.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-05/0.1735, allocations: 36 kB / 360.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.1737, allocations: 50.09 kB / 360.4 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.174, allocations: 79.89 kB / 360.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.1762, allocations: 2.639 MB / 363.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.1765, allocations: 51.7 kB / 363.1 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.1766, allocations: 20 kB / 363.1 MB, free: 0.6172 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003406/0.1769, allocations: 205.6 kB / 363.3 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.1771, allocations: 102.8 kB / 363.4 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.1782, allocations: 0.5245 MB / 364 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1783, allocations: 4 kB / 364 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1783, allocations: 0 / 364 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1783, allocations: 0 / 364 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.1789, allocations: 0.5621 MB / 364.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.835e-05/0.179, allocations: 36 kB / 364.6 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1792, allocations: 43.92 kB / 364.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.1794, allocations: 53.67 kB / 364.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.1794, allocations: 11.94 kB / 364.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.1813, allocations: 2.635 MB / 367.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1814, allocations: 3.984 kB / 367.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.1825, allocations: 0.6232 MB / 367.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.1827, allocations: 183.7 kB / 368.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.1828, allocations: 4 kB / 368.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.183, allocations: 23.97 kB / 368.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.1831, allocations: 35.98 kB / 368.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.1832, allocations: 8 kB / 368.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006729/0.1839, allocations: 0.5427 MB / 368.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1839, allocations: 0 / 368.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007151/0.1846, allocations: 243.7 kB / 369 MB, free: 10.4 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005773/0.1852, allocations: 332.3 kB / 369.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.1862, allocations: 0.6052 MB / 369.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1863, allocations: 0 / 369.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.1868, allocations: 454.9 kB / 370.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.1873, allocations: 100.3 kB / 370.4 MB, free: 8.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.19, allocations: 1.759 MB / 372.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.1906, allocations: 0.9561 MB / 373.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.1907, allocations: 47.44 kB / 373.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1907, allocations: 0 / 373.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Templates: time 0.212/0.4028, allocations: 17.4 MB / 390.6 MB, free: 49.79 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.Spice3.Examples.Spice3BenchmarkRtlInverterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverterCalcHelperMain.o] Error 1