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.0009701/0.00097, allocations: 97.03 kB / 17.95 MB, free: 5.766 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.001142/0.001142, allocations: 180.2 kB / 18.86 MB, free: 4.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.253/2.253, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005403/0.0005403, allocations: 12 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1472, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005667/0.1529, allocations: 4.625 MB / 334.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.1665, allocations: 10.51 MB / 344.7 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1677, allocations: 11.94 kB / 344.8 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.17, allocations: 0.6211 MB / 345.4 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.1748, allocations: 0.8091 MB / 346.2 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.177, allocations: 427.8 kB / 346.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.1799, allocations: 1.291 MB / 347.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.1802, allocations: 161.8 kB / 348.1 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.1806, allocations: 254.6 kB / 348.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.181, allocations: 301.9 kB / 348.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.1811, allocations: 16 kB / 348.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.183, allocations: 0.6636 MB / 349.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.1831, allocations: 91.23 kB / 349.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.1835, allocations: 411.1 kB / 349.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1845, allocations: 0.892 MB / 350.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1845, allocations: 0 / 350.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1846, allocations: 0 / 350.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1846, allocations: 0 / 350.7 MB, free: 14.59 MB / 302.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.002123/0.1867, allocations: 1.203 MB / 351.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.1868, allocations: 8.031 kB / 351.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.187, allocations: 119.5 kB / 352 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.1881, allocations: 0.7465 MB / 352.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.1881, allocations: 24.55 kB / 352.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.1882, allocations: 24 kB / 352.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/0.189, allocations: 333.3 kB / 353.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.189, allocations: 3.938 kB / 353.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1891, allocations: 12 kB / 353.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.1891, allocations: 8 kB / 353.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.1898, allocations: 302.1 kB / 353.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.1919, allocations: 1.357 MB / 354.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007547/0.1927, allocations: 334.5 kB / 355.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.1931, allocations: 248.8 kB / 355.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004803/0.198, allocations: 3.608 MB / 359 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004784/0.1985, allocations: 203.2 kB / 359.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.106e-06/0.1985, allocations: 0 / 359.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00185/0.2003, allocations: 0.7661 MB / 359.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.2004, allocations: 55.41 kB / 360 MB, free: 4.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.2015, allocations: 0.8192 MB / 360.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.2015, allocations: 29.7 kB / 360.8 MB, free: 3.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.202, allocations: 448.5 kB / 361.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.2021, allocations: 98.55 kB / 361.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.2022, allocations: 37.7 kB / 361.4 MB, free: 2.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.2023, allocations: 326 kB / 361.7 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.2027, allocations: 124.7 kB / 361.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.2031, allocations: 236 kB / 362.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/0.2038, allocations: 380.9 kB / 362.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2038, allocations: 4 kB / 362.4 MB, free: 1.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001031/0.2049, allocations: 0.5327 MB / 363 MB, free: 1.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.2049, allocations: 8 kB / 363 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.265e-05/0.205, allocations: 36 kB / 363 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.2053, allocations: 58.03 kB / 363.1 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.2056, allocations: 79.88 kB / 363.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.208, allocations: 2.646 MB / 365.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.2084, allocations: 51.59 kB / 365.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.2084, allocations: 20 kB / 365.9 MB, free: 14.11 MB / 318.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 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003112/0.2088, allocations: 197.7 kB / 366.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.2089, allocations: 102.8 kB / 366.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2101, allocations: 0.5088 MB / 366.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2101, allocations: 8.141 kB / 366.7 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2101, allocations: 7.922 kB / 366.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.2101, allocations: 11.98 kB / 366.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.2109, allocations: 0.5466 MB / 367.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.986e-05/0.2109, allocations: 39.98 kB / 367.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.2112, allocations: 43.91 kB / 367.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.2113, allocations: 49.62 kB / 367.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2114, allocations: 15.98 kB / 367.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.2135, allocations: 2.643 MB / 370 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2135, allocations: 3.938 kB / 370 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.2148, allocations: 0.6386 MB / 370.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.215, allocations: 179.7 kB / 370.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.2151, allocations: 8 kB / 370.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2153, allocations: 24.05 kB / 370.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.2155, allocations: 27.95 kB / 370.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2155, allocations: 12 kB / 370.9 MB, free: 8.672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007332/0.2162, allocations: 0.5506 MB / 371.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2162, allocations: 0 / 371.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008263/0.2171, allocations: 235.8 kB / 371.7 MB, free: 7.883 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007487/0.2178, allocations: 360.1 kB / 372.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.2191, allocations: 0.609 MB / 372.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2191, allocations: 0 / 372.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.2197, allocations: 451.1 kB / 373.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.2203, allocations: 92.39 kB / 373.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.2234, allocations: 1.876 MB / 375.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.2241, allocations: 0.9561 MB / 376 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.2242, allocations: 43.44 kB / 376.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2242, allocations: 0 / 376.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of Templates: time 0.2612/0.4854, allocations: 17.4 MB / 393.5 MB, free: 47.63 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++ -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.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