Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.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.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_trunk_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_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 91.98 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, allocations: 196.8 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002524, allocations: 4 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01371/0.1481, allocations: 9.667 MB / 368.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009636/0.1578, allocations: 3.666 MB / 372.1 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.1607, allocations: 79.62 kB / 372.2 MB, free: 472 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2655/0.4262, allocations: 0.6052 MB / 372.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.4315, allocations: 1.608 MB / 374.4 MB, free: 8.781 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.002069/0.4336, allocations: 460.1 kB / 374.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.4436, allocations: 5.538 MB / 380.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004882/0.4486, allocations: 3.072 MB / 383.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006006/0.4546, allocations: 2.18 MB / 385.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007121/0.4617, allocations: 2.821 MB / 388.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001484/0.4633, allocations: 273 kB / 388.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.4674, allocations: 0.5364 MB / 389.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003951/0.4713, allocations: 4.869 MB / 394.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00434/0.4757, allocations: 2.559 MB / 396.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.4914, allocations: 12.7 MB / 409.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.4914, allocations: 0 / 409.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.4914, allocations: 0 / 409.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.001175/0.4926, allocations: 0 / 409.4 MB, free: 8.137 MB / 318.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.03065/0.5233, allocations: 16.92 MB / 426.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5234, allocations: 8.031 kB / 426.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/0.5289, allocations: 1.758 MB / 428.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.5395, allocations: 4.08 MB / 432.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.5399, allocations: 295.2 kB / 432.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009876/0.5409, allocations: 399 kB / 432.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04791/0.5888, allocations: 29.92 MB / 462.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.519e-05/0.5889, allocations: 4 kB / 462.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004756/0.5894, allocations: 163.9 kB / 462.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002982/0.5897, allocations: 208 kB / 463.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03827/0.628, allocations: 26.69 MB / 489.8 MB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04391/0.672, allocations: 22.26 MB / 0.5001 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3608/1.033, allocations: 85.74 MB / 0.5838 GB, free: 97.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05725/1.09, allocations: 81.68 MB / 0.6636 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/1.091, allocations: 134.6 kB / 0.6637 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02579/1.116, allocations: 30.63 MB / 0.6936 GB, free: 13.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5058): time 7.664e-06/1.116, allocations: 5.031 kB / 0.6936 GB, free: 13.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=5065): time 14.68/15.8, allocations: 2.903 GB / 3.597 GB, free: 12.96 MB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00585/15.81, allocations: 7.359 MB / 3.604 GB, free: 5.84 MB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004443/15.81, allocations: 2.633 MB / 3.606 GB, free: 3.188 MB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.006832/15.82, allocations: 3.948 MB / 3.61 GB, free: 15.22 MB / 1.842 GB Notification: Performance of collectInitialEqns (initialization): time 0.002376/15.82, allocations: 1.744 MB / 3.612 GB, free: 13.46 MB / 1.842 GB Notification: Performance of collectInitialBindings (initialization): time 0.03077/15.85, allocations: 21.64 MB / 3.633 GB, free: 7.93 MB / 1.857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006305/15.86, allocations: 1.512 MB / 3.635 GB, free: 6.418 MB / 1.857 GB Notification: Performance of setup shared object (initialization): time 0.007357/15.86, allocations: 3.504 MB / 3.638 GB, free: 2.902 MB / 1.857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06472/15.93, allocations: 26.85 MB / 3.664 GB, free: 8.031 MB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1013/16.03, allocations: 58.75 MB / 3.722 GB, free: 14.53 MB / 1.967 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07324/16.1, allocations: 38.49 MB / 3.759 GB, free: 7.984 MB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001808/16.11, allocations: 300 kB / 3.76 GB, free: 7.691 MB / 1.998 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.2128/16.32, allocations: 87.69 MB / 3.845 GB, free: 15.88 MB / 2.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0018/16.32, allocations: 489.7 kB / 3.846 GB, free: 15.4 MB / 2.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002346/16.32, allocations: 1.031 MB / 3.847 GB, free: 14.37 MB / 2.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009702/16.33, allocations: 3.259 MB / 3.85 GB, free: 11.09 MB / 2.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04238/16.37, allocations: 10.72 MB / 3.86 GB, free: 348 kB / 2.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03064/16.41, allocations: 25.61 MB / 3.885 GB, free: 5.418 MB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03605/16.44, allocations: 2.492 MB / 3.888 GB, free: 2.926 MB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01248/16.45, allocations: 3.598 MB / 3.891 GB, free: 15.32 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.03468/16.49, allocations: 15.07 MB / 3.906 GB, free: 196 kB / 2.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005921/16.49, allocations: 2.35 MB / 3.908 GB, free: 13.82 MB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.513/26.01, allocations: 8.843 GB / 12.75 GB, free: 1.839 GB / 2.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/26.01, allocations: 27.84 kB / 12.75 GB, free: 1.839 GB / 2.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/26.01, allocations: 8.531 kB / 12.75 GB, free: 1.839 GB / 2.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.138e-05/26.01, allocations: 15.08 kB / 12.75 GB, free: 1.839 GB / 2.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.542/34.55, allocations: 8.865 GB / 21.62 GB, free: 1.267 GB / 2.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/34.55, allocations: 0 / 21.62 GB, free: 1.267 GB / 2.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/34.55, allocations: 298.6 kB / 21.62 GB, free: 1.267 GB / 2.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/34.56, allocations: 1.617 MB / 21.62 GB, free: 1.265 GB / 2.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003744/34.56, allocations: 0.6504 MB / 21.62 GB, free: 1.265 GB / 2.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/34.58, allocations: 23.22 MB / 21.64 GB, free: 1.241 GB / 2.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/34.58, allocations: 4.328 kB / 21.64 GB, free: 1.241 GB / 2.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.53/43.11, allocations: 8.897 GB / 30.54 GB, free: 0.6452 GB / 2.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01173/43.12, allocations: 5.084 MB / 30.54 GB, free: 0.6411 GB / 2.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004257/43.13, allocations: 0.6492 MB / 30.55 GB, free: 0.6404 GB / 2.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008922/43.13, allocations: 0.7193 MB / 30.55 GB, free: 0.6397 GB / 2.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006819/43.14, allocations: 0.6487 MB / 30.55 GB, free: 0.6391 GB / 2.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002878/43.14, allocations: 0.662 MB / 30.55 GB, free: 0.6385 GB / 2.436 GB Notification: Performance of sorting global known variables: time 0.002868/43.15, allocations: 1.835 MB / 30.55 GB, free: 0.6367 GB / 2.436 GB Notification: Performance of sort global known variables: time 2.61e-07/43.15, allocations: 0 / 30.55 GB, free: 0.6367 GB / 2.436 GB Notification: Performance of remove unused functions: time 0.05196/43.2, allocations: 9.964 MB / 30.56 GB, free: 0.6269 GB / 2.436 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.00493/43.2, allocations: 0.9955 MB / 30.56 GB, free: 0.6261 GB / 2.436 GB Notification: Performance of simCode: created initialization part: time 0.1184/43.32, allocations: 84.2 MB / 30.64 GB, free: 0.5442 GB / 2.436 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/43.32, allocations: 0 / 30.64 GB, free: 0.5442 GB / 2.436 GB Notification: Performance of simCode: created simulation system equations: time 71.25/114.6, allocations: 28.59 GB / 59.23 GB, free: 473.5 MB / 3.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02343/114.6, allocations: 2.113 MB / 59.24 GB, free: 471.5 MB / 3.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.135/114.7, allocations: 65.63 MB / 59.3 GB, free: 406.1 MB / 3.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01734/114.7, allocations: 9.915 MB / 59.31 GB, free: 396.1 MB / 3.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007513/114.8, allocations: 1.339 MB / 59.31 GB, free: 394.8 MB / 3.186 GB Notification: Performance of SimCode: time 1.884e-06/114.8, allocations: 4 kB / 59.31 GB, free: 394.8 MB / 3.186 GB Notification: Performance of Templates: time 3.147/117.9, allocations: 1.74 GB / 61.05 GB, free: 1.455 GB / 3.186 GB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile make -j1 -f Modelica_trunk_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 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.Rectifier12pulseFFTCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o] Error 1