Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001094, allocations: 95.55 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3107, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.4552, allocations: 94.83 MB / 469.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.4555, allocations: 75.97 kB / 469.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125/1.58, allocations: 166.9 MB / 0.6214 GB, free: 6.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.58, allocations: 0 / 0.6214 GB, free: 6.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006639/1.581, allocations: 255.9 kB / 0.6217 GB, free: 6.191 MB / 394.7 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.04029/1.621, allocations: 16.27 MB / 0.6375 GB, free: 5.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.621, allocations: 8.031 kB / 0.6376 GB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007217/1.629, allocations: 1.734 MB / 0.6392 GB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5794/2.208, allocations: 8.833 MB / 0.6479 GB, free: 41.32 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/2.209, allocations: 296.2 kB / 0.6482 GB, free: 41.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003095/2.212, allocations: 397.6 kB / 0.6485 GB, free: 41.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05586/2.268, allocations: 27.9 MB / 0.6758 GB, free: 40.39 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/2.268, allocations: 10.25 kB / 0.6758 GB, free: 40.39 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002453/2.27, allocations: 167.1 kB / 0.676 GB, free: 40.39 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003415/2.271, allocations: 208 kB / 0.6761 GB, free: 40.38 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04719/2.318, allocations: 24.23 MB / 0.6998 GB, free: 29.92 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07304/2.391, allocations: 28.72 MB / 0.7279 GB, free: 18.04 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.399/2.79, allocations: 84.76 MB / 0.8106 GB, free: 86.13 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005494/2.791, allocations: 149.9 kB / 0.8108 GB, free: 86.04 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04601/2.837, allocations: 29.09 MB / 0.8392 GB, free: 85.21 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5058): time 8.206e-06/2.837, allocations: 6.906 kB / 0.8392 GB, free: 85.21 MB / 458.8 MB Notification: Performance of matching and sorting (n=5065): time 14.72/17.56, allocations: 2.918 GB / 3.757 GB, free: 15.43 MB / 1.964 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007621/17.57, allocations: 7.362 MB / 3.764 GB, free: 8.301 MB / 1.964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006512/17.57, allocations: 2.379 MB / 3.767 GB, free: 5.91 MB / 1.964 GB Notification: Performance of collectPreVariables (initialization): time 0.009685/17.58, allocations: 3.952 MB / 3.77 GB, free: 1.941 MB / 1.964 GB Notification: Performance of collectInitialEqns (initialization): time 0.002578/17.59, allocations: 1.605 MB / 3.772 GB, free: 332 kB / 1.964 GB Notification: Performance of collectInitialBindings (initialization): time 0.0342/17.62, allocations: 21.64 MB / 3.793 GB, free: 10.78 MB / 1.995 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008437/17.63, allocations: 1.512 MB / 3.795 GB, free: 9.27 MB / 1.995 GB Notification: Performance of setup shared object (initialization): time 0.007937/17.64, allocations: 3.504 MB / 3.798 GB, free: 5.75 MB / 1.995 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.472/18.11, allocations: 26.85 MB / 3.824 GB, free: 1.599 GB / 1.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09294/18.2, allocations: 58.43 MB / 3.881 GB, free: 1.561 GB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08539/18.29, allocations: 38.48 MB / 3.919 GB, free: 1.548 GB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001835/18.29, allocations: 306.7 kB / 3.919 GB, free: 1.548 GB / 1.995 GB Notification: Performance of matching and sorting (n=9915) (initialization): time 0.2134/18.5, allocations: 87.51 MB / 4.005 GB, free: 1.478 GB / 1.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.002379/18.51, allocations: 492.4 kB / 4.005 GB, free: 1.477 GB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003137/18.51, allocations: 1.031 MB / 4.006 GB, free: 1.476 GB / 1.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009703/18.52, allocations: 3.026 MB / 4.009 GB, free: 1.474 GB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06166/18.58, allocations: 10.71 MB / 4.019 GB, free: 1.464 GB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03568/18.62, allocations: 26.01 MB / 4.045 GB, free: 1.439 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04393/18.66, allocations: 2.496 MB / 4.047 GB, free: 1.436 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01227/18.67, allocations: 3.598 MB / 4.051 GB, free: 1.433 GB / 1.995 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4832 * 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 (9809): * Single equations (assignments): 9798 * 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.04419/18.72, allocations: 15.07 MB / 4.066 GB, free: 1.419 GB / 1.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009303/18.73, allocations: 2.357 MB / 4.068 GB, free: 1.417 GB / 1.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 11.54/30.27, allocations: 8.84 GB / 12.91 GB, free: 0.7758 GB / 1.995 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/30.27, allocations: 27.56 kB / 12.91 GB, free: 0.7758 GB / 1.995 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/30.27, allocations: 8.688 kB / 12.91 GB, free: 0.7758 GB / 1.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.053e-05/30.27, allocations: 11.95 kB / 12.91 GB, free: 0.7758 GB / 1.995 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 11.72/41.99, allocations: 8.865 GB / 21.77 GB, free: 99.13 MB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/41.99, allocations: 0 / 21.77 GB, free: 99.13 MB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/41.99, allocations: 297.5 kB / 21.77 GB, free: 98.86 MB / 1.995 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005466/42, allocations: 1.384 MB / 21.77 GB, free: 97.49 MB / 1.995 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005842/42, allocations: 0.7968 MB / 21.77 GB, free: 96.69 MB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0323/42.03, allocations: 23.65 MB / 21.8 GB, free: 72.23 MB / 1.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/42.03, allocations: 0 / 21.8 GB, free: 72.23 MB / 1.995 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 12.31/54.35, allocations: 8.892 GB / 30.69 GB, free: 0.9981 GB / 1.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02409/54.37, allocations: 6.346 MB / 30.7 GB, free: 0.9928 GB / 1.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007327/54.38, allocations: 0.648 MB / 30.7 GB, free: 0.9922 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01401/54.39, allocations: 0.722 MB / 30.7 GB, free: 0.9915 GB / 1.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005834/54.4, allocations: 0.6511 MB / 30.7 GB, free: 0.9908 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006469/54.4, allocations: 1.25 MB / 30.7 GB, free: 0.9896 GB / 1.995 GB Notification: Performance of sorting global known variables: time 0.004406/54.41, allocations: 1.849 MB / 30.7 GB, free: 0.9878 GB / 1.995 GB Notification: Performance of sort global known variables: time 8.52e-07/54.41, allocations: 4 kB / 30.7 GB, free: 0.9878 GB / 1.995 GB Notification: Performance of remove unused functions: time 0.05389/54.46, allocations: 9.989 MB / 30.71 GB, free: 0.9781 GB / 1.995 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.006305/54.47, allocations: 1.048 MB / 30.71 GB, free: 0.9772 GB / 1.995 GB Notification: Performance of simCode: created initialization part: time 0.1615/54.63, allocations: 84.25 MB / 30.79 GB, free: 0.8961 GB / 1.995 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/54.63, allocations: 0.75 kB / 30.79 GB, free: 0.8961 GB / 1.995 GB Notification: Performance of simCode: created simulation system equations: time 64.01/118.6, allocations: 28.62 GB / 59.42 GB, free: 1.466 GB / 2.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01687/118.7, allocations: 1.479 MB / 59.42 GB, free: 1.465 GB / 2.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1909/118.9, allocations: 82.03 MB / 59.5 GB, free: 1.385 GB / 2.745 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02797/118.9, allocations: 10.21 MB / 59.51 GB, free: 1.375 GB / 2.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01074/118.9, allocations: 1.339 MB / 59.51 GB, free: 1.374 GB / 2.745 GB Notification: Performance of SimCode: time 2.234e-06/118.9, allocations: 0 / 59.51 GB, free: 1.374 GB / 2.745 GB Notification: Performance of Templates: time 4.581/123.5, allocations: 1.699 GB / 61.21 GB, free: 2.019 GB / 2.745 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -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_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTFunctions.cpp:354:48: error: use of undeclared identifier \'_omcQ_24tmpVar2_\'; did you mean \'_omcQ_24tmpVar3_\'?\n Modelica_SIunits_Conversions_to__deg(_omcQ_24tmpVar2_,tmp51);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar3_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTFunctions.cpp:327:14: note: \'_omcQ_24tmpVar3_\' declared here\n double _omcQ_24tmpVar3_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFT.cpp:30811:7: warning: expression result unused [-Wunused-value]\n tmp9;\n ^~~~\n1 warning and 1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier12pulseFFTCalcHelperMain.o] Error 1\n'