Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008464/0.0008461, allocations: 91.59 kB / 16.95 MB, free: 5.953 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.0008952/0.0008953, allocations: 181.6 kB / 17.84 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 4 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 50.43 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004509/0.1369, allocations: 4.391 MB / 356.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.1479, allocations: 9.838 MB / 366.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000945/0.149, allocations: 7.938 kB / 366.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.1509, allocations: 0.5829 MB / 366.7 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.1543, allocations: 0.7569 MB / 367.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.1561, allocations: 411 kB / 367.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.159, allocations: 1.26 MB / 369.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/0.1594, allocations: 155.8 kB / 369.3 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.1598, allocations: 242.8 kB / 369.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.1602, allocations: 290.2 kB / 369.8 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.1602, allocations: 16 kB / 369.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.1622, allocations: 0.6751 MB / 370.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1623, allocations: 87.38 kB / 370.6 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.1626, allocations: 193.1 kB / 370.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.1637, allocations: 0.892 MB / 371.6 MB, free: 160 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1637, allocations: 0 / 371.6 MB, free: 160 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1638, allocations: 0 / 371.6 MB, free: 160 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1638, allocations: 0 / 371.6 MB, free: 160 kB / 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.2543/0.418, allocations: 1.199 MB / 372.8 MB, free: 25.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4181, allocations: 10.66 kB / 372.9 MB, free: 25.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.4183, allocations: 113.1 kB / 373 MB, free: 25.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.4195, allocations: 0.7034 MB / 373.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.4196, allocations: 22.84 kB / 373.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.4196, allocations: 29.28 kB / 373.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.4204, allocations: 327.8 kB / 374 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4205, allocations: 0 / 374 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.4205, allocations: 12.53 kB / 374 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.4205, allocations: 11.98 kB / 374.1 MB, free: 25.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.4212, allocations: 300.6 kB / 374.4 MB, free: 25.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.424, allocations: 1.366 MB / 375.7 MB, free: 24.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.4249, allocations: 315.5 kB / 376 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.4254, allocations: 254.4 kB / 376.3 MB, free: 24.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004546/0.4299, allocations: 3.599 MB / 379.9 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004953/0.4304, allocations: 201.8 kB / 380.1 MB, free: 21.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.186e-06/0.4305, allocations: 1.469 kB / 380.1 MB, free: 21.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001676/0.4321, allocations: 0.7632 MB / 380.8 MB, free: 20.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.4322, allocations: 57.09 kB / 380.9 MB, free: 20.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.4333, allocations: 0.8039 MB / 381.7 MB, free: 20.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.4334, allocations: 32.33 kB / 381.7 MB, free: 20.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.4337, allocations: 451.2 kB / 382.2 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/0.4338, allocations: 98.75 kB / 382.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.4339, allocations: 5 kB / 382.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.4339, allocations: 323.3 kB / 382.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.4343, allocations: 126.3 kB / 382.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.4346, allocations: 236.6 kB / 382.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.435, allocations: 149.3 kB / 383.1 MB, free: 19.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.435, allocations: 1.406 kB / 383.1 MB, free: 19.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00106/0.436, allocations: 0.5468 MB / 383.6 MB, free: 19.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4361, allocations: 6.094 kB / 383.6 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-05/0.4362, allocations: 37.45 kB / 383.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.4364, allocations: 54.73 kB / 383.7 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.4367, allocations: 83 kB / 383.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.4384, allocations: 2.637 MB / 386.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.4388, allocations: 48.83 kB / 386.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.4388, allocations: 23.91 kB / 386.5 MB, free: 16.41 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.0002841/0.4391, allocations: 209.2 kB / 386.7 MB, free: 16.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.4393, allocations: 103.1 kB / 386.8 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.4405, allocations: 0.5087 MB / 387.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4405, allocations: 3.188 kB / 387.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4405, allocations: 0 / 387.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4405, allocations: 3.25 kB / 387.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008295/0.4414, allocations: 0.5577 MB / 387.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.887e-05/0.4414, allocations: 28.47 kB / 387.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.4417, allocations: 47.2 kB / 388 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.4418, allocations: 51.28 kB / 388 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.4419, allocations: 6.953 kB / 388 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.4434, allocations: 2.646 MB / 390.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4434, allocations: 0 / 390.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.4447, allocations: 0.6358 MB / 391.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.4449, allocations: 182.2 kB / 391.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.445, allocations: 6.953 kB / 391.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.4452, allocations: 24.17 kB / 391.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4453, allocations: 28.17 kB / 391.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.4454, allocations: 14.28 kB / 391.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000844/0.4462, allocations: 0.5397 MB / 392.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.4462, allocations: 0 / 392.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001026/0.4473, allocations: 240.7 kB / 392.3 MB, free: 12.14 MB / 302.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.0007045/0.448, allocations: 338.4 kB / 392.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.4491, allocations: 0.6033 MB / 393.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.4491, allocations: 4 kB / 393.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.4497, allocations: 448 kB / 393.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.4503, allocations: 101.1 kB / 393.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.4532, allocations: 1.777 MB / 395.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.4537, allocations: 0.9549 MB / 396.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4538, allocations: 47.61 kB / 396.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4538, allocations: 0 / 396.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of Templates: time 0.02121/0.4751, allocations: 17.42 MB / 414 MB, free: 10.5 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverterCalcHelperMain.o] Error 1