Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001326, allocations: 90.95 kB / 16.95 MB, free: 5.66 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.001394/0.001394, allocations: 186.5 kB / 17.85 MB, free: 5.316 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.595/1.595, allocations: 223.2 MB / 241.9 MB, free: 14.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 4 kB / 301.5 MB, free: 6.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 50.41 MB / 351.9 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004075/0.1386, allocations: 3.657 MB / 355.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1405, allocations: 0.8999 MB / 356.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.1408, allocations: 8 kB / 356.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1411, allocations: 75.38 kB / 356.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.1417, allocations: 166.7 kB / 356.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.1421, allocations: 111.9 kB / 356.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.1429, allocations: 0.6815 MB / 357.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.1433, allocations: 162.6 kB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.1437, allocations: 239 kB / 357.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.1441, allocations: 286.7 kB / 358.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.1442, allocations: 36 kB / 358.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.1442, allocations: 36 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1444, allocations: 115.5 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1445, allocations: 133.4 kB / 358.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.1451, allocations: 0.5102 MB / 359 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1451, allocations: 0 / 359 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1451, allocations: 0 / 359 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1451, allocations: 0 / 359 MB, free: 12.68 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001489/0.1466, allocations: 0.8299 MB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1466, allocations: 8.031 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.1468, allocations: 67.25 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.1473, allocations: 368.9 kB / 360.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.1474, allocations: 37.31 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.1475, allocations: 52 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1485, allocations: 0.5414 MB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1486, allocations: 3.984 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.1486, allocations: 24 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.1487, allocations: 15.95 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008532/0.1495, allocations: 459.7 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.1528, allocations: 2.054 MB / 363.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1538, allocations: 0.6376 MB / 364 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.1545, allocations: 423 kB / 364.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.1546, allocations: 4.562 kB / 364.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1546, allocations: 43.08 kB / 364.5 MB, free: 6.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 5.139e-06/0.1546, allocations: 3.984 kB / 364.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004819/0.1594, allocations: 2.059 MB / 366.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.1596, allocations: 55.97 kB / 366.6 MB, free: 4.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.1601, allocations: 361.7 kB / 367 MB, free: 4.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.1601, allocations: 37.7 kB / 367 MB, free: 4.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.1604, allocations: 229.1 kB / 367.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.1606, allocations: 201.1 kB / 367.4 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.1606, allocations: 15.94 kB / 367.4 MB, free: 3.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1608, allocations: 362.7 kB / 367.8 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.1612, allocations: 173 kB / 368 MB, free: 3.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.1616, allocations: 211.8 kB / 368.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.162, allocations: 182.2 kB / 368.3 MB, free: 2.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.162, allocations: 7.953 kB / 368.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001334/0.1634, allocations: 0.6696 MB / 369 MB, free: 2.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.1634, allocations: 6.344 kB / 369 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1634, allocations: 0 / 369 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007149/0.1642, allocations: 259.2 kB / 369.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.1645, allocations: 67.84 kB / 369.3 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3281/0.4926, allocations: 6.758 MB / 376.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.4931, allocations: 21.28 kB / 376.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.798e-05/0.4932, allocations: 20.73 kB / 376.1 MB, free: 20.32 MB / 302.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: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005231/0.4937, allocations: 173.2 kB / 376.3 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.494, allocations: 50.69 kB / 376.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.4942, allocations: 65.69 kB / 376.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.4942, allocations: 6.219 kB / 376.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.17e-05/0.4943, allocations: 4.906 kB / 376.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.4943, allocations: 7.266 kB / 376.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.4975, allocations: 1.357 MB / 377.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.4975, allocations: 0.8438 kB / 377.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.4979, allocations: 58.83 kB / 377.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009231/0.4989, allocations: 258.4 kB / 378.1 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.4989, allocations: 13.61 kB / 378.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006705/0.5056, allocations: 6.783 MB / 384.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5057, allocations: 0 / 384.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.5078, allocations: 1.04 MB / 386 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.508, allocations: 157.4 kB / 386.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.5081, allocations: 11.86 kB / 386.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.5083, allocations: 24.48 kB / 386.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.5085, allocations: 50.86 kB / 386.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.5086, allocations: 16.27 kB / 386.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003442/0.5089, allocations: 253.5 kB / 386.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5089, allocations: 480 / 386.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001123/0.5101, allocations: 176.1 kB / 386.6 MB, free: 12.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001925/0.5103, allocations: 129.7 kB / 386.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.5123, allocations: 1.036 MB / 387.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.5123, allocations: 0 / 387.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.5135, allocations: 0.851 MB / 388.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.5142, allocations: 80.8 kB / 388.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.5169, allocations: 1.547 MB / 390.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.5174, allocations: 0.8772 MB / 391.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.5175, allocations: 29.81 kB / 391.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of SimCode: time 2.114e-06/0.5176, allocations: 0 / 391.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of Templates: time 0.02282/0.5404, allocations: 13.77 MB / 404.9 MB, free: 2.309 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.RectifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.o] Error 1