Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.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.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009648, allocations: 93.36 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.001106/0.001106, allocations: 178.3 kB / 17.84 MB, free: 5.621 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.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 8 kB / 301.4 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 50.41 MB / 351.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.007769/0.1293, allocations: 6.22 MB / 358.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005894/0.1353, allocations: 2.743 MB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.1365, allocations: 43.81 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1378, allocations: 429.6 kB / 361.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.14, allocations: 1.173 MB / 362.5 MB, free: 9.402 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.001158/0.1412, allocations: 347.4 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004181/0.1454, allocations: 3.137 MB / 365.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/0.1479, allocations: 1.698 MB / 367.6 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.1507, allocations: 1.414 MB / 369 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/0.1546, allocations: 1.835 MB / 370.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.155, allocations: 148 kB / 371 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.1569, allocations: 427.5 kB / 371.4 MB, free: 368 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2761/0.4331, allocations: 4.32 MB / 375.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007165/0.4403, allocations: 2.15 MB / 377.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0171/0.4574, allocations: 9.609 MB / 387.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.4575, allocations: 1.25 kB / 387.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.641e-06/0.4575, allocations: 0 / 387.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0009775/0.4585, allocations: 0.6875 kB / 387.5 MB, free: 9.648 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.02803/0.4865, allocations: 15.13 MB / 402.6 MB, free: 1.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4866, allocations: 12.02 kB / 402.7 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.492, allocations: 1.479 MB / 404.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008405/0.5004, allocations: 2.961 MB / 407.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.5006, allocations: 161.6 kB / 407.3 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.5009, allocations: 221.2 kB / 407.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03852/0.5395, allocations: 26.95 MB / 434.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.5395, allocations: 2.078 kB / 434.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.5398, allocations: 91.75 kB / 434.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.54, allocations: 116.1 kB / 434.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03381/0.5738, allocations: 24.42 MB / 459 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.031/0.6048, allocations: 14.69 MB / 473.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.393/0.9979, allocations: 82.68 MB / 0.5434 GB, free: 111.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05059/1.048, allocations: 80.34 MB / 0.6218 GB, free: 47.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/1.049, allocations: 123.6 kB / 0.622 GB, free: 47.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02605/1.075, allocations: 29.8 MB / 0.6511 GB, free: 18.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4937): time 6.492e-06/1.075, allocations: 0 / 0.6511 GB, free: 18.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=4941): time 14.22/15.3, allocations: 2.897 GB / 3.548 GB, free: 15.38 MB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005007/15.3, allocations: 7.195 MB / 3.555 GB, free: 8.465 MB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/15.31, allocations: 1.499 MB / 3.556 GB, free: 6.953 MB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.005734/15.31, allocations: 3.928 MB / 3.56 GB, free: 3.008 MB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/15.31, allocations: 1.026 MB / 3.561 GB, free: 1.969 MB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.03149/15.35, allocations: 21.23 MB / 3.582 GB, free: 12.48 MB / 1.858 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00654/15.35, allocations: 1.492 MB / 3.583 GB, free: 10.99 MB / 1.858 GB Notification: Performance of setup shared object (initialization): time 0.009485/15.36, allocations: 3.45 MB / 3.587 GB, free: 7.531 MB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06957/15.43, allocations: 26.21 MB / 3.612 GB, free: 13.29 MB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09392/15.53, allocations: 57.9 MB / 3.669 GB, free: 4.68 MB / 1.951 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07005/15.6, allocations: 37.72 MB / 3.706 GB, free: 14.92 MB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002378/15.6, allocations: 303.8 kB / 3.706 GB, free: 14.63 MB / 1.998 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1854/15.78, allocations: 85.56 MB / 3.789 GB, free: 9.02 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.003605/15.79, allocations: 485.7 kB / 3.79 GB, free: 8.539 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004325/15.79, allocations: 1.031 MB / 3.791 GB, free: 7.508 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008694/15.8, allocations: 2.429 MB / 3.793 GB, free: 5.066 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04466/15.85, allocations: 10.55 MB / 3.804 GB, free: 10.49 MB / 2.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/15.86, allocations: 12.65 MB / 3.816 GB, free: 13.31 MB / 2.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.042/15.9, allocations: 2.43 MB / 3.818 GB, free: 10.88 MB / 2.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01515/15.92, allocations: 3.555 MB / 3.822 GB, free: 7.324 MB / 2.108 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.04743/15.97, allocations: 14.49 MB / 3.836 GB, free: 8.766 MB / 2.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007378/15.97, allocations: 2.221 MB / 3.838 GB, free: 6.531 MB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.971/24.95, allocations: 8.841 GB / 12.68 GB, free: 1.655 GB / 2.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/24.95, allocations: 16 kB / 12.68 GB, free: 1.655 GB / 2.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/24.95, allocations: 4 kB / 12.68 GB, free: 1.655 GB / 2.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.415e-05/24.95, allocations: 9.719 kB / 12.68 GB, free: 1.655 GB / 2.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.207/33.15, allocations: 8.861 GB / 21.54 GB, free: 0.9641 GB / 2.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/33.15, allocations: 0.5 kB / 21.54 GB, free: 0.9641 GB / 2.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/33.15, allocations: 163.5 kB / 21.54 GB, free: 0.9639 GB / 2.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/33.16, allocations: 0.8027 MB / 21.54 GB, free: 0.9631 GB / 2.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003946/33.16, allocations: 0.6285 MB / 21.54 GB, free: 0.9625 GB / 2.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008724/33.17, allocations: 10.4 MB / 21.55 GB, free: 0.952 GB / 2.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/33.17, allocations: 4.031 kB / 21.55 GB, free: 0.952 GB / 2.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.304/41.47, allocations: 8.895 GB / 30.45 GB, free: 234.6 MB / 2.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01193/41.49, allocations: 4.805 MB / 30.45 GB, free: 230.6 MB / 2.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004398/41.49, allocations: 0.6228 MB / 30.45 GB, free: 230 MB / 2.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008457/41.5, allocations: 0.6681 MB / 30.45 GB, free: 229.3 MB / 2.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004896/41.5, allocations: 0.5514 MB / 30.45 GB, free: 228.8 MB / 2.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002367/41.51, allocations: 0.625 MB / 30.45 GB, free: 228.1 MB / 2.389 GB Notification: Performance of sorting global known variables: time 0.001591/41.51, allocations: 1.057 MB / 30.45 GB, free: 227.1 MB / 2.389 GB Notification: Performance of sort global known variables: time 1.3e-07/41.51, allocations: 3.812 kB / 30.45 GB, free: 227.1 MB / 2.389 GB Notification: Performance of remove unused functions: time 0.05154/41.56, allocations: 9.516 MB / 30.46 GB, free: 217.6 MB / 2.389 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.005051/41.56, allocations: 0.9756 MB / 30.47 GB, free: 216.7 MB / 2.389 GB Notification: Performance of simCode: created initialization part: time 0.1217/41.69, allocations: 81.74 MB / 30.54 GB, free: 135.3 MB / 2.389 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/41.69, allocations: 0 / 30.54 GB, free: 135.3 MB / 2.389 GB Notification: Performance of simCode: created simulation system equations: time 68.56/110.2, allocations: 28.59 GB / 59.13 GB, free: 148.3 MB / 3.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02143/110.3, allocations: 1.66 MB / 59.13 GB, free: 146.7 MB / 3.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1531/110.4, allocations: 66.87 MB / 59.2 GB, free: 80.02 MB / 3.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0239/110.4, allocations: 8.826 MB / 59.21 GB, free: 71.15 MB / 3.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008648/110.4, allocations: 1.277 MB / 59.21 GB, free: 69.88 MB / 3.092 GB Notification: Performance of SimCode: time 1.733e-06/110.4, allocations: 0 / 59.21 GB, free: 69.88 MB / 3.092 GB Notification: Performance of Templates: time 2.745/113.2, allocations: 1.407 GB / 60.62 GB, free: 1.393 GB / 3.092 GB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile make -j1 -f Modelica_4.0.0_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 4.0.0+maint.om/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 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o] Error 1