Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFT,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.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,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.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009167/0.0009219, allocations: 94.48 kB / 16.96 MB, free: 6.406 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.001127/0.001127, allocations: 179.1 kB / 17.84 MB, free: 5.969 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.483/1.483, allocations: 223.2 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8.781 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01223/0.148, allocations: 9.641 MB / 361.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1582, allocations: 3.635 MB / 365.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.1615, allocations: 79.56 kB / 365.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.1646, allocations: 0.6057 MB / 365.8 MB, free: 6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005023/0.1696, allocations: 1.612 MB / 367.4 MB, free: 4.383 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.002346/0.172, allocations: 471.3 kB / 367.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.4558/0.6278, allocations: 5.515 MB / 373.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005518/0.6334, allocations: 3.074 MB / 376.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005631/0.639, allocations: 2.173 MB / 378.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008317/0.6474, allocations: 2.823 MB / 381.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002276/0.6497, allocations: 271.5 kB / 381.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/0.6552, allocations: 0.5345 MB / 382.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008636/0.6638, allocations: 4.866 MB / 387.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008664/0.6726, allocations: 2.557 MB / 389.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01924/0.6919, allocations: 12.7 MB / 402.4 MB, free: 424 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.6919, allocations: 0 / 402.4 MB, free: 424 kB / 302.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.6919, allocations: 4 kB / 402.4 MB, free: 420 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0009938/0.6929, allocations: 2.297 kB / 402.4 MB, free: 420 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: 5853 * Number of variables: 5853 Notification: Performance of Generate backend data structure: time 0.03461/0.7276, allocations: 16.91 MB / 419.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.7276, allocations: 12.03 kB / 419.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006114/0.7338, allocations: 1.725 MB / 421.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.7458, allocations: 4.09 MB / 425.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/0.7462, allocations: 298 kB / 425.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/0.7484, allocations: 390.7 kB / 425.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05233/0.8007, allocations: 29.56 MB / 455.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.989e-05/0.8009, allocations: 0 / 455.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004801/0.8014, allocations: 162.1 kB / 455.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/0.8016, allocations: 204 kB / 455.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03866/0.8403, allocations: 26.71 MB / 482.4 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/0.8807, allocations: 22.27 MB / 0.4929 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3027/1.183, allocations: 86.18 MB / 0.577 GB, free: 80.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05681/1.24, allocations: 81.67 MB / 0.6568 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/1.241, allocations: 139.5 kB / 0.6569 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04219/1.283, allocations: 30.78 MB / 0.687 GB, free: 9.602 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5058): time 6.662e-06/1.283, allocations: 0.6875 kB / 0.687 GB, free: 9.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=5065): time 14.47/15.76, allocations: 2.903 GB / 3.59 GB, free: 428 kB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005355/15.76, allocations: 7.357 MB / 3.597 GB, free: 9.293 MB / 1.842 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004862/15.77, allocations: 2.625 MB / 3.6 GB, free: 6.648 MB / 1.842 GB Notification: Performance of collectPreVariables (initialization): time 0.006808/15.77, allocations: 3.948 MB / 3.604 GB, free: 2.684 MB / 1.842 GB Notification: Performance of collectInitialEqns (initialization): time 0.002347/15.78, allocations: 1.742 MB / 3.606 GB, free: 0.9258 MB / 1.842 GB Notification: Performance of collectInitialBindings (initialization): time 0.03571/15.81, allocations: 21.64 MB / 3.627 GB, free: 11.25 MB / 1.873 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007001/15.82, allocations: 1.513 MB / 3.628 GB, free: 9.738 MB / 1.873 GB Notification: Performance of setup shared object (initialization): time 0.007854/15.83, allocations: 3.511 MB / 3.632 GB, free: 6.219 MB / 1.873 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06613/15.89, allocations: 26.85 MB / 3.658 GB, free: 11.35 MB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1052/16, allocations: 58.75 MB / 3.715 GB, free: 1.836 MB / 1.967 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07432/16.07, allocations: 38.48 MB / 3.753 GB, free: 11.3 MB / 2.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002112/16.08, allocations: 304 kB / 3.753 GB, free: 11 MB / 2.014 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.2/16.28, allocations: 87.69 MB / 3.839 GB, free: 3.195 MB / 2.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.001284/16.28, allocations: 493.7 kB / 3.839 GB, free: 2.707 MB / 2.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002479/16.28, allocations: 1.031 MB / 3.84 GB, free: 1.676 MB / 2.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009829/16.29, allocations: 3.264 MB / 3.843 GB, free: 14.39 MB / 2.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0406/16.33, allocations: 10.72 MB / 3.854 GB, free: 3.641 MB / 2.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03152/16.36, allocations: 25.6 MB / 3.879 GB, free: 8.703 MB / 2.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03612/16.4, allocations: 2.488 MB / 3.881 GB, free: 6.215 MB / 2.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01244/16.41, allocations: 3.599 MB / 3.885 GB, free: 2.617 MB / 2.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4834 * Number of states: 0 () * Number of discrete variables: 24 ($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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9811): * Single equations (assignments): 9800 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.04067/16.45, allocations: 15.08 MB / 3.9 GB, free: 3.469 MB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005848/16.46, allocations: 2.346 MB / 3.902 GB, free: 1.102 MB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706/25.16, allocations: 8.843 GB / 12.75 GB, free: 1.477 GB / 2.373 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/25.16, allocations: 25.03 kB / 12.75 GB, free: 1.477 GB / 2.373 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.614e-05/25.16, allocations: 8 kB / 12.75 GB, free: 1.477 GB / 2.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.32e-05/25.16, allocations: 16.62 kB / 12.75 GB, free: 1.477 GB / 2.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.515/33.68, allocations: 8.865 GB / 21.61 GB, free: 0.6764 GB / 2.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/33.68, allocations: 0 / 21.61 GB, free: 0.6764 GB / 2.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/33.68, allocations: 293.9 kB / 21.61 GB, free: 0.6761 GB / 2.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004773/33.68, allocations: 1.619 MB / 21.61 GB, free: 0.6746 GB / 2.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003178/33.69, allocations: 0.6529 MB / 21.61 GB, free: 0.6739 GB / 2.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01939/33.71, allocations: 23.23 MB / 21.64 GB, free: 0.6503 GB / 2.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/33.71, allocations: 480 / 21.64 GB, free: 0.6503 GB / 2.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.854/42.56, allocations: 8.897 GB / 30.53 GB, free: 1.841 GB / 2.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01309/42.57, allocations: 5.08 MB / 30.54 GB, free: 1.836 GB / 2.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00526/42.58, allocations: 0.6484 MB / 30.54 GB, free: 1.836 GB / 2.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01136/42.59, allocations: 0.7225 MB / 30.54 GB, free: 1.835 GB / 2.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006341/42.6, allocations: 0.6555 MB / 30.54 GB, free: 1.834 GB / 2.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003464/42.6, allocations: 0.6543 MB / 30.54 GB, free: 1.834 GB / 2.373 GB Notification: Performance of sorting global known variables: time 0.004211/42.6, allocations: 1.837 MB / 30.54 GB, free: 1.832 GB / 2.373 GB Notification: Performance of sort global known variables: time 8.72e-07/42.6, allocations: 0 / 30.54 GB, free: 1.832 GB / 2.373 GB Notification: Performance of remove unused functions: time 0.05513/42.66, allocations: 9.965 MB / 30.55 GB, free: 1.822 GB / 2.373 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 20 (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,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.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 (155): * Single equations (assignments): 143 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007075/42.67, allocations: 0.9998 MB / 30.55 GB, free: 1.821 GB / 2.373 GB Notification: Performance of simCode: created initialization part: time 0.1309/42.8, allocations: 84.19 MB / 30.64 GB, free: 1.74 GB / 2.373 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/42.8, allocations: 4.188 kB / 30.64 GB, free: 1.74 GB / 2.373 GB Notification: Performance of simCode: created simulation system equations: time 69.63/112.4, allocations: 28.59 GB / 59.23 GB, free: 425.4 MB / 3.155 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01959/112.4, allocations: 2.102 MB / 59.23 GB, free: 423.4 MB / 3.155 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/112.6, allocations: 65.63 MB / 59.29 GB, free: 358 MB / 3.155 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01875/112.6, allocations: 9.92 MB / 59.3 GB, free: 348 MB / 3.155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0115/112.6, allocations: 1.339 MB / 59.31 GB, free: 346.7 MB / 3.155 GB Notification: Performance of SimCode: time 4.428e-06/112.6, allocations: 4 kB / 59.31 GB, free: 346.7 MB / 3.155 GB Notification: Performance of Templates: time 3.117/115.7, allocations: 1.74 GB / 61.05 GB, free: 1.377 GB / 3.155 GB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.Rectifier12pulseFFTCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o] Error 1