Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009964/0.0009962, allocations: 88.14 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001357, allocations: 201.9 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 8 kB / 307.3 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1384, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.007328/0.1458, allocations: 6.23 MB / 365 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.1521, allocations: 2.782 MB / 367.8 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.1537, allocations: 43.75 kB / 367.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.1554, allocations: 433.6 kB / 368.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.1589, allocations: 1.173 MB / 369.4 MB, free: 3.445 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/FastFourierTransform.mo:538:3-629:25:writable] Warning: Pure function ‘Modelica.Math.FastFourierTransform.realFFTwriteToFile‘ contains a call to impure function ‘Modelica.Utilities.Files.removeFile‘. Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.1608, allocations: 355.3 kB / 369.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2468/0.4076, allocations: 3.139 MB / 372.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003908/0.4115, allocations: 1.698 MB / 374.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.4147, allocations: 1.416 MB / 376 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003812/0.4185, allocations: 1.835 MB / 377.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005095/0.419, allocations: 150.5 kB / 378 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.421, allocations: 431.8 kB / 378.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005177/0.4262, allocations: 4.321 MB / 382.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007092/0.4333, allocations: 2.149 MB / 384.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.4495, allocations: 9.612 MB / 394.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.4495, allocations: 0 / 394.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4496, allocations: 0 / 394.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0007879/0.4504, allocations: 0 / 394.5 MB, free: 4.598 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.02563/0.476, allocations: 15.14 MB / 409.7 MB, free: 7.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4761, allocations: 15.97 kB / 409.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.4811, allocations: 1.51 MB / 411.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007459/0.4885, allocations: 2.956 MB / 414.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.4887, allocations: 164.4 kB / 414.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004525/0.4892, allocations: 219.8 kB / 414.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04294/0.5322, allocations: 26.95 MB / 441.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/0.5323, allocations: 0 / 441.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.5326, allocations: 96.52 kB / 441.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.5327, allocations: 108.5 kB / 441.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03413/0.5668, allocations: 24.44 MB / 466.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0304/0.5973, allocations: 14.69 MB / 480.8 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3661/0.9634, allocations: 82.34 MB / 0.5499 GB, free: 130.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.06299/1.026, allocations: 80.34 MB / 0.6284 GB, free: 64.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/1.027, allocations: 126 kB / 0.6285 GB, free: 64.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02918/1.056, allocations: 29.81 MB / 0.6576 GB, free: 36.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4937): time 6.432e-06/1.056, allocations: 0 / 0.6576 GB, free: 36.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=4941): time 14.54/15.59, allocations: 2.897 GB / 3.555 GB, free: 9.414 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005726/15.6, allocations: 7.2 MB / 3.562 GB, free: 2.121 MB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/15.6, allocations: 1.491 MB / 3.563 GB, free: 0.6133 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.008519/15.61, allocations: 3.932 MB / 3.567 GB, free: 12.66 MB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001606/15.61, allocations: 1.027 MB / 3.568 GB, free: 11.62 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.03102/15.64, allocations: 21.24 MB / 3.589 GB, free: 6.105 MB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006767/15.65, allocations: 1.488 MB / 3.59 GB, free: 4.617 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 0.006804/15.66, allocations: 3.461 MB / 3.594 GB, free: 1.148 MB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05364/15.71, allocations: 26.2 MB / 3.619 GB, free: 6.922 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09149/15.8, allocations: 57.9 MB / 3.676 GB, free: 14.3 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07026/15.87, allocations: 37.72 MB / 3.713 GB, free: 8.543 MB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001662/15.88, allocations: 300 kB / 3.713 GB, free: 8.25 MB / 1.951 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.2015/16.08, allocations: 85.56 MB / 3.796 GB, free: 2.637 MB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.00169/16.08, allocations: 488.4 kB / 3.797 GB, free: 2.156 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002569/16.08, allocations: 1.034 MB / 3.798 GB, free: 1.125 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007407/16.09, allocations: 2.434 MB / 3.8 GB, free: 14.68 MB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04384/16.13, allocations: 10.54 MB / 3.811 GB, free: 4.121 MB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/16.15, allocations: 12.66 MB / 3.823 GB, free: 6.934 MB / 2.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04817/16.2, allocations: 2.422 MB / 3.825 GB, free: 4.512 MB / 2.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01867/16.22, allocations: 3.562 MB / 3.829 GB, free: 0.9492 MB / 2.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4822 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.realFFT.firstTrigger,realFFT.firstTrigger,$PRE.realFFT.info,realFFT.info,$PRE.realFFT.buf[4000],realFFT.buf[4000],$PRE.realFFT.iTick,realFFT.iTick,$whenCondition3,$whenCondition1,$whenCondition2,realFFT.sampleTrigger,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9717): * Single equations (assignments): 9712 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.04643/16.27, allocations: 14.49 MB / 3.843 GB, free: 2.387 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006843/16.27, allocations: 2.215 MB / 3.845 GB, free: 156 kB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957/25.23, allocations: 8.841 GB / 12.69 GB, free: 0.493 GB / 2.561 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/25.23, allocations: 16 kB / 12.69 GB, free: 0.493 GB / 2.561 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/25.23, allocations: 7.984 kB / 12.69 GB, free: 0.4929 GB / 2.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/25.23, allocations: 4.891 kB / 12.69 GB, free: 0.4929 GB / 2.561 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.291/33.52, allocations: 8.861 GB / 21.55 GB, free: 482.1 MB / 2.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/33.52, allocations: 1.719 kB / 21.55 GB, free: 482.1 MB / 2.561 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/33.52, allocations: 167.2 kB / 21.55 GB, free: 481.9 MB / 2.561 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/33.53, allocations: 0.8145 MB / 21.55 GB, free: 481.1 MB / 2.561 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004218/33.53, allocations: 0.6211 MB / 21.55 GB, free: 480.5 MB / 2.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/33.54, allocations: 10.39 MB / 21.56 GB, free: 469.7 MB / 2.561 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/33.54, allocations: 0 / 21.56 GB, free: 469.7 MB / 2.561 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.515/42.06, allocations: 8.895 GB / 30.45 GB, free: 415.6 MB / 2.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01492/42.07, allocations: 4.805 MB / 30.46 GB, free: 411.6 MB / 2.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005109/42.08, allocations: 0.6211 MB / 30.46 GB, free: 411 MB / 2.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01145/42.09, allocations: 0.6662 MB / 30.46 GB, free: 410.3 MB / 2.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007577/42.09, allocations: 0.5632 MB / 30.46 GB, free: 409.8 MB / 2.561 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004269/42.1, allocations: 0.6211 MB / 30.46 GB, free: 409.2 MB / 2.561 GB Notification: Performance of sorting global known variables: time 0.001693/42.1, allocations: 1.057 MB / 30.46 GB, free: 408.1 MB / 2.561 GB Notification: Performance of sort global known variables: time 1.3e-07/42.1, allocations: 1.594 kB / 30.46 GB, free: 408.1 MB / 2.561 GB Notification: Performance of remove unused functions: time 0.05695/42.16, allocations: 9.516 MB / 30.47 GB, free: 398.6 MB / 2.561 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 14 (realFFT.sampleTrigger,$whenCondition3,$whenCondition1,$whenCondition2,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,realFFT.firstTrigger,realFFT.info,realFFT.buf[4000],realFFT.iTick) * Number of discrete states: 5 (realFFT.info,$whenCondition2,realFFT.buf[4000],realFFT.iTick,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006391/42.16, allocations: 0.9651 MB / 30.47 GB, free: 397.8 MB / 2.561 GB Notification: Performance of simCode: created initialization part: time 0.1193/42.28, allocations: 81.73 MB / 30.55 GB, free: 316.4 MB / 2.561 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/42.28, allocations: 2 kB / 30.55 GB, free: 316.4 MB / 2.561 GB Notification: Performance of simCode: created simulation system equations: time 68.02/110.3, allocations: 28.59 GB / 59.14 GB, free: 0.6693 GB / 3.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02355/110.3, allocations: 1.668 MB / 59.14 GB, free: 0.6678 GB / 3.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1408/110.5, allocations: 66.86 MB / 59.21 GB, free: 0.6026 GB / 3.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01967/110.5, allocations: 8.826 MB / 59.22 GB, free: 0.594 GB / 3.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007936/110.5, allocations: 1.273 MB / 59.22 GB, free: 0.5927 GB / 3.264 GB Notification: Performance of SimCode: time 1.633e-06/110.5, allocations: 0 / 59.22 GB, free: 0.5927 GB / 3.264 GB Notification: Performance of Templates: time 2.804/113.3, allocations: 1.407 GB / 60.62 GB, free: 2.082 GB / 3.264 GB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFT.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o] Error 1