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.001898/0.001899, allocations: 101.5 kB / 17.8 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.002263/0.002263, allocations: 194 kB / 18.72 MB, free: 4.762 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.124/2.124, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.001424/0.001425, allocations: 47.94 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1685, allocations: 46.63 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007591/0.1762, allocations: 5.019 MB / 332.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.1904, allocations: 10.66 MB / 342.9 MB, free: 5.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.1918, allocations: 11.94 kB / 342.9 MB, free: 5.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.1942, allocations: 0.6289 MB / 343.6 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.1987, allocations: 0.8013 MB / 344.4 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.2005, allocations: 427.8 kB / 344.8 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.2032, allocations: 1.295 MB / 346.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.2035, allocations: 161.8 kB / 346.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.2039, allocations: 254.6 kB / 346.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.2042, allocations: 306 kB / 346.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.074e-05/0.2043, allocations: 24 kB / 346.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.206, allocations: 0.6674 MB / 347.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2062, allocations: 103.3 kB / 347.6 MB, free: 476 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.2066, allocations: 393.4 kB / 348 MB, free: 80 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.2076, allocations: 0.9001 MB / 348.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2076, allocations: 0 / 348.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2077, allocations: 4 kB / 348.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.2077, allocations: 0 / 348.9 MB, free: 15.17 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.00233/0.21, allocations: 1.334 MB / 350.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.2101, allocations: 8.031 kB / 350.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.2103, allocations: 111.6 kB / 350.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.2115, allocations: 0.7505 MB / 351.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.2116, allocations: 20.56 kB / 351.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.2117, allocations: 24 kB / 351.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.2125, allocations: 325.3 kB / 351.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2125, allocations: 0 / 351.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.2125, allocations: 8 kB / 351.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.2126, allocations: 8 kB / 351.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007229/0.2133, allocations: 274.2 kB / 351.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.2156, allocations: 1.368 MB / 353.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007565/0.2163, allocations: 294.5 kB / 353.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.2168, allocations: 240.8 kB / 353.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004719/0.2215, allocations: 3.611 MB / 357.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.222, allocations: 195.2 kB / 357.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.222, allocations: 0 / 357.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001736/0.2238, allocations: 0.7264 MB / 358.1 MB, free: 5.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.2239, allocations: 59.41 kB / 358.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.225, allocations: 0.823 MB / 359 MB, free: 4.168 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.225, allocations: 29.7 kB / 359 MB, free: 4.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.2255, allocations: 448.5 kB / 359.5 MB, free: 3.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.418e-05/0.2256, allocations: 98.62 kB / 359.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2257, allocations: 73.94 kB / 359.6 MB, free: 3.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2259, allocations: 318 kB / 360 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.2262, allocations: 120.7 kB / 360.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.2266, allocations: 220.1 kB / 360.3 MB, free: 2.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.2272, allocations: 364.9 kB / 360.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2273, allocations: 0 / 360.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009999/0.2283, allocations: 0.5171 MB / 361.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.2283, allocations: 4 kB / 361.2 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.766e-05/0.2284, allocations: 39.98 kB / 361.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.2286, allocations: 50.11 kB / 361.3 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.229, allocations: 83.81 kB / 361.3 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.2314, allocations: 2.646 MB / 364 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.2318, allocations: 47.72 kB / 364 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.2318, allocations: 20 kB / 364 MB, free: 14.72 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.0003161/0.2322, allocations: 201.7 kB / 364.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2323, allocations: 106.7 kB / 364.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.2334, allocations: 489.1 kB / 364.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.2335, allocations: 7.984 kB / 364.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2335, allocations: 3.938 kB / 364.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2335, allocations: 4 kB / 364.8 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.2342, allocations: 0.5467 MB / 365.4 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-05/0.2342, allocations: 35.98 kB / 365.4 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.2345, allocations: 35.97 kB / 365.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.2347, allocations: 53.61 kB / 365.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.2347, allocations: 12 kB / 365.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.2369, allocations: 2.646 MB / 368.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2369, allocations: 0 / 368.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.2382, allocations: 0.6151 MB / 368.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.2384, allocations: 175.8 kB / 369 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.2385, allocations: 8 kB / 369 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2388, allocations: 15.97 kB / 369 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2389, allocations: 32.22 kB / 369 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.2389, allocations: 8 kB / 369 MB, free: 9.363 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007481/0.2397, allocations: 0.5583 MB / 369.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2397, allocations: 0 / 369.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008257/0.2405, allocations: 239.7 kB / 369.8 MB, free: 8.562 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.000721/0.2412, allocations: 364.8 kB / 370.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.2425, allocations: 0.5895 MB / 370.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2425, allocations: 0 / 370.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.2431, allocations: 443 kB / 371.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.2437, allocations: 88.39 kB / 371.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.2467, allocations: 1.809 MB / 373.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.2474, allocations: 0.9483 MB / 374 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.2475, allocations: 51.44 kB / 374.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2475, allocations: 0 / 374.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of Templates: time 0.2801/0.5276, allocations: 17.49 MB / 391.6 MB, free: 48.75 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