Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=50000,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_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier12pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_3.2.3_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.001035/0.001035, allocations: 94.72 kB / 17.59 MB, free: 6.168 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.001161/0.001161, allocations: 188.3 kB / 18.48 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 224.6 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 16.62 kB / 281.4 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 47.59 MB / 329 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier12pulseFFT): time 0.01098/0.1256, allocations: 9.576 MB / 338.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008674/0.1343, allocations: 3.687 MB / 342.2 MB, free: 6.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.1372, allocations: 71.56 kB / 342.3 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.1394, allocations: 0.6096 MB / 342.9 MB, free: 6.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.1434, allocations: 1.6 MB / 344.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.1451, allocations: 495.2 kB / 345 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007697/0.1528, allocations: 5.654 MB / 350.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005911/0.1587, allocations: 2.878 MB / 353.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.1635, allocations: 2.2 MB / 355.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006146/0.1696, allocations: 2.843 MB / 358.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.1708, allocations: 280 kB / 358.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.1733, allocations: 0.5386 MB / 359.4 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004397/0.1777, allocations: 4.884 MB / 364.3 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004849/0.1825, allocations: 2.563 MB / 366.8 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0181/0.2007, allocations: 12.69 MB / 379.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2007, allocations: 0 / 379.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2007, allocations: 0 / 379.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006647/0.2014, allocations: 0 / 379.5 MB, free: 1.332 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.3795/0.5808, allocations: 16.88 MB / 396.4 MB, free: 26.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5809, allocations: 10.09 kB / 396.4 MB, free: 26.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.5861, allocations: 1.727 MB / 398.1 MB, free: 25.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008945/0.5951, allocations: 3.926 MB / 402.1 MB, free: 23.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.5953, allocations: 296.4 kB / 402.4 MB, free: 23.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000715/0.5961, allocations: 387.9 kB / 402.7 MB, free: 23.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/0.6256, allocations: 29.55 MB / 432.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.025e-05/0.6257, allocations: 7.562 kB / 432.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004065/0.6262, allocations: 165 kB / 432.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.6264, allocations: 204 kB / 432.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03199/0.6584, allocations: 26.69 MB / 459.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04297/0.7014, allocations: 22.27 MB / 481.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3237/1.025, allocations: 86.13 MB / 0.5544 GB, free: 113.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04636/1.072, allocations: 81.66 MB / 0.6342 GB, free: 50.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/1.072, allocations: 140.7 kB / 0.6343 GB, free: 50.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02239/1.094, allocations: 30.63 MB / 0.6642 GB, free: 19.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5058): time 5.771e-06/1.094, allocations: 0 / 0.6642 GB, free: 19.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=5065): time 13.78/14.88, allocations: 2.902 GB / 3.566 GB, free: 7.117 MB / 1.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005924/14.88, allocations: 7.363 MB / 3.574 GB, free: 15.62 MB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005265/14.89, allocations: 2.63 MB / 3.576 GB, free: 12.98 MB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.007083/14.89, allocations: 3.955 MB / 3.58 GB, free: 9.004 MB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.002613/14.9, allocations: 1.733 MB / 3.582 GB, free: 7.25 MB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.03411/14.93, allocations: 21.64 MB / 3.603 GB, free: 1.316 MB / 1.842 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006656/14.94, allocations: 1.516 MB / 3.604 GB, free: 15.8 MB / 1.858 GB Notification: Performance of setup shared object (initialization): time 0.007876/14.95, allocations: 3.507 MB / 3.608 GB, free: 12.29 MB / 1.858 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06569/15.01, allocations: 26.84 MB / 3.634 GB, free: 1.422 MB / 1.873 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.102/15.11, allocations: 58.75 MB / 3.691 GB, free: 7.906 MB / 1.951 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0713/15.18, allocations: 38.48 MB / 3.729 GB, free: 1.367 MB / 1.983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002131/15.19, allocations: 304 kB / 3.729 GB, free: 1.07 MB / 1.983 GB Notification: Performance of matching and sorting (n=9917) (initialization): time 0.2014/15.39, allocations: 87.69 MB / 3.815 GB, free: 9.266 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.002091/15.39, allocations: 493.7 kB / 3.815 GB, free: 8.777 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003018/15.39, allocations: 1.035 MB / 3.816 GB, free: 7.742 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/15.4, allocations: 3.254 MB / 3.819 GB, free: 4.465 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04594/15.45, allocations: 10.73 MB / 3.83 GB, free: 9.711 MB / 2.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02952/15.48, allocations: 25.59 MB / 3.855 GB, free: 14.79 MB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04121/15.52, allocations: 2.488 MB / 3.857 GB, free: 12.3 MB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01447/15.54, allocations: 3.606 MB / 3.861 GB, free: 8.699 MB / 2.123 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.04213/15.58, allocations: 15.08 MB / 3.876 GB, free: 9.555 MB / 2.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007678/15.59, allocations: 2.356 MB / 3.878 GB, free: 7.18 MB / 2.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271/23.86, allocations: 8.843 GB / 12.72 GB, free: 1.638 GB / 2.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/23.86, allocations: 24.53 kB / 12.72 GB, free: 1.638 GB / 2.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/23.86, allocations: 11.84 kB / 12.72 GB, free: 1.638 GB / 2.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.316e-05/23.86, allocations: 13.17 kB / 12.72 GB, free: 1.638 GB / 2.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.928/31.78, allocations: 8.865 GB / 21.59 GB, free: 0.9368 GB / 2.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/31.78, allocations: 4 kB / 21.59 GB, free: 0.9368 GB / 2.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/31.79, allocations: 296.6 kB / 21.59 GB, free: 0.9365 GB / 2.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005107/31.79, allocations: 1.615 MB / 21.59 GB, free: 0.935 GB / 2.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003959/31.8, allocations: 0.6445 MB / 21.59 GB, free: 0.9344 GB / 2.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/31.82, allocations: 23.22 MB / 21.61 GB, free: 0.9107 GB / 2.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/31.82, allocations: 7.984 kB / 21.61 GB, free: 0.9107 GB / 2.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.019/39.84, allocations: 8.897 GB / 30.51 GB, free: 188.9 MB / 2.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01126/39.85, allocations: 5.087 MB / 30.51 GB, free: 184.6 MB / 2.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004695/39.85, allocations: 0.6484 MB / 30.51 GB, free: 184 MB / 2.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00929/39.86, allocations: 0.7236 MB / 30.52 GB, free: 183.3 MB / 2.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005751/39.87, allocations: 0.6512 MB / 30.52 GB, free: 182.6 MB / 2.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003639/39.87, allocations: 0.6537 MB / 30.52 GB, free: 182 MB / 2.389 GB Notification: Performance of sorting global known variables: time 0.003669/39.87, allocations: 1.841 MB / 30.52 GB, free: 180.1 MB / 2.389 GB Notification: Performance of sort global known variables: time 3.71e-07/39.87, allocations: 0 / 30.52 GB, free: 180.1 MB / 2.389 GB Notification: Performance of remove unused functions: time 0.053/39.93, allocations: 9.961 MB / 30.53 GB, free: 170.2 MB / 2.389 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.004385/39.93, allocations: 0.9904 MB / 30.53 GB, free: 169.3 MB / 2.389 GB Notification: Performance of simCode: created initialization part: time 0.1084/40.04, allocations: 84.2 MB / 30.61 GB, free: 85.39 MB / 2.389 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/40.04, allocations: 0 / 30.61 GB, free: 85.39 MB / 2.389 GB Notification: Performance of simCode: created simulation system equations: time 64.25/104.3, allocations: 28.59 GB / 59.2 GB, free: 0.6168 GB / 2.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01822/104.3, allocations: 2.104 MB / 59.2 GB, free: 0.6149 GB / 2.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1102/104.4, allocations: 65.63 MB / 59.27 GB, free: 0.551 GB / 2.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01704/104.4, allocations: 9.917 MB / 59.28 GB, free: 0.5413 GB / 2.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008115/104.4, allocations: 1.343 MB / 59.28 GB, free: 0.54 GB / 2.67 GB Notification: Performance of SimCode: time 3.015e-06/104.4, allocations: 0 / 59.28 GB, free: 0.54 GB / 2.67 GB Notification: Performance of Templates: time 2.885/107.3, allocations: 1.74 GB / 61.02 GB, free: 1.101 GB / 2.67 GB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile make -j1 -f Modelica_3.2.3_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o] Error 1