Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.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.Rectifier6pulseFFT,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.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,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.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 186.7 kB / 16.41 MB, free: 5.727 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.824/1.824, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001085/0.001085, allocations: 91.56 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003812, allocations: 8 kB / 327 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4592, allocations: 93.23 MB / 467.8 MB, free: 3.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4596, allocations: 75.97 kB / 467.8 MB, free: 3.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9522/1.412, allocations: 114.1 MB / 0.5683 GB, free: 45.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.215e-06/1.412, allocations: 0 / 0.5683 GB, free: 45.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003857/1.412, allocations: 215.9 kB / 0.5685 GB, free: 44.84 MB / 378.7 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.02884/1.441, allocations: 14.51 MB / 0.5826 GB, free: 30.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/1.441, allocations: 12.03 kB / 0.5826 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006013/1.447, allocations: 1.483 MB / 0.5841 GB, free: 28.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/1.474, allocations: 7.677 MB / 0.5916 GB, free: 20.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/1.475, allocations: 172.3 kB / 0.5918 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003283/1.478, allocations: 212 kB / 0.592 GB, free: 20.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05525/1.533, allocations: 25.34 MB / 0.6167 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/1.533, allocations: 3.938 kB / 0.6167 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/1.536, allocations: 95.98 kB / 0.6168 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/1.537, allocations: 112.5 kB / 0.6169 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04818/1.585, allocations: 22.1 MB / 0.6385 GB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5897/2.175, allocations: 21.18 MB / 0.6592 GB, free: 80.6 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07544/2.25, allocations: 80.19 MB / 0.7375 GB, free: 20.54 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/2.251, allocations: 145.3 kB / 0.7376 GB, free: 20.44 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04528/2.296, allocations: 28.27 MB / 0.7652 GB, free: 1.797 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4937): time 4.759e-06/2.296, allocations: 0 / 0.7652 GB, free: 1.797 MB / 410.8 MB Notification: Performance of matching and sorting (n=4941): time 16.34/18.64, allocations: 2.906 GB / 3.671 GB, free: 10.12 MB / 1.807 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007548/18.65, allocations: 7.198 MB / 3.678 GB, free: 3.199 MB / 1.807 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/18.65, allocations: 1.358 MB / 3.68 GB, free: 1.836 MB / 1.807 GB Notification: Performance of collectPreVariables (initialization): time 0.009198/18.66, allocations: 3.932 MB / 3.683 GB, free: 13.89 MB / 1.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/18.66, allocations: 0.9894 MB / 3.684 GB, free: 12.89 MB / 1.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.03287/18.69, allocations: 21.23 MB / 3.705 GB, free: 7.766 MB / 1.839 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008017/18.7, allocations: 1.492 MB / 3.707 GB, free: 6.273 MB / 1.839 GB Notification: Performance of setup shared object (initialization): time 0.008035/18.71, allocations: 3.458 MB / 3.71 GB, free: 2.805 MB / 1.839 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0757/18.79, allocations: 26.21 MB / 3.735 GB, free: 8.57 MB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1055/18.89, allocations: 57.6 MB / 3.792 GB, free: 1.586 MB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09439/18.99, allocations: 37.71 MB / 3.829 GB, free: 12.09 MB / 1.979 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001493/18.99, allocations: 304 kB / 3.829 GB, free: 11.79 MB / 1.979 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.237/19.23, allocations: 85.45 MB / 3.912 GB, free: 6.285 MB / 2.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001734/19.23, allocations: 481.7 kB / 3.913 GB, free: 5.809 MB / 2.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002928/19.23, allocations: 1.031 MB / 3.914 GB, free: 4.777 MB / 2.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007424/19.24, allocations: 2.326 MB / 3.916 GB, free: 2.445 MB / 2.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06373/19.3, allocations: 10.54 MB / 3.926 GB, free: 7.883 MB / 2.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/19.32, allocations: 12.85 MB / 3.939 GB, free: 10.53 MB / 2.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04188/19.37, allocations: 2.426 MB / 3.941 GB, free: 8.102 MB / 2.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01194/19.38, allocations: 3.562 MB / 3.945 GB, free: 4.539 MB / 2.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4821 * 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 (9716): * Single equations (assignments): 9711 * 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.0445/19.42, allocations: 14.49 MB / 3.959 GB, free: 5.988 MB / 2.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009987/19.43, allocations: 2.219 MB / 3.961 GB, free: 3.75 MB / 2.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 11.83/31.26, allocations: 8.838 GB / 12.8 GB, free: 2.009 GB / 2.448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/31.26, allocations: 13.25 kB / 12.8 GB, free: 2.009 GB / 2.448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/31.26, allocations: 3.969 kB / 12.8 GB, free: 2.009 GB / 2.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/31.26, allocations: 10.78 kB / 12.8 GB, free: 2.009 GB / 2.448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 11.17/42.43, allocations: 8.861 GB / 21.66 GB, free: 1.594 GB / 2.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/42.43, allocations: 6.656 kB / 21.66 GB, free: 1.594 GB / 2.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/42.44, allocations: 163.9 kB / 21.66 GB, free: 1.594 GB / 2.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002617/42.44, allocations: 0.6897 MB / 21.66 GB, free: 1.593 GB / 2.448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006512/42.44, allocations: 0.7695 MB / 21.66 GB, free: 1.593 GB / 2.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/42.46, allocations: 10.63 MB / 21.67 GB, free: 1.582 GB / 2.448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/42.46, allocations: 4.031 kB / 21.67 GB, free: 1.582 GB / 2.448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 11.52/53.98, allocations: 8.889 GB / 30.56 GB, free: 1.109 GB / 2.448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02397/54, allocations: 6.047 MB / 30.57 GB, free: 1.104 GB / 2.448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007562/54.01, allocations: 0.6234 MB / 30.57 GB, free: 1.104 GB / 2.448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0134/54.02, allocations: 0.6669 MB / 30.57 GB, free: 1.103 GB / 2.448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005335/54.03, allocations: 0.5556 MB / 30.57 GB, free: 1.103 GB / 2.448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006725/54.03, allocations: 1.211 MB / 30.57 GB, free: 1.101 GB / 2.448 GB Notification: Performance of sorting global known variables: time 0.002389/54.04, allocations: 1.064 MB / 30.57 GB, free: 1.1 GB / 2.448 GB Notification: Performance of sort global known variables: time 7.71e-07/54.04, allocations: 1.312 kB / 30.57 GB, free: 1.1 GB / 2.448 GB Notification: Performance of remove unused functions: time 0.05095/54.09, allocations: 9.545 MB / 30.58 GB, free: 1.091 GB / 2.448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (82): * Single equations (assignments): 76 * 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.005959/54.09, allocations: 0.9932 MB / 30.58 GB, free: 1.09 GB / 2.448 GB Notification: Performance of simCode: created initialization part: time 0.1545/54.25, allocations: 81.77 MB / 30.66 GB, free: 1.011 GB / 2.448 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/54.25, allocations: 0 / 30.66 GB, free: 1.011 GB / 2.448 GB Notification: Performance of simCode: created simulation system equations: time 56.43/110.7, allocations: 28.61 GB / 59.27 GB, free: 0.6905 GB / 3.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01283/110.7, allocations: 1.065 MB / 59.27 GB, free: 0.6895 GB / 3.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1465/110.8, allocations: 66.25 MB / 59.34 GB, free: 0.6251 GB / 3.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02343/110.9, allocations: 9.09 MB / 59.35 GB, free: 0.6162 GB / 3.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009108/110.9, allocations: 1.269 MB / 59.35 GB, free: 0.615 GB / 3.229 GB Notification: Performance of SimCode: time 1.543e-06/110.9, allocations: 0 / 59.35 GB, free: 0.615 GB / 3.229 GB Notification: Performance of Templates: time 4.347/115.2, allocations: 1.39 GB / 60.74 GB, free: 2.074 GB / 3.229 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.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.Rectifier6pulseFFTCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTFunctions.cpp:309:48: error: use of undeclared identifier \'_omcQ_24tmpVar2_\'; did you mean \'_omcQ_24tmpVar3_\'?\n Modelica_SIunits_Conversions_to__deg(_omcQ_24tmpVar2_,tmp39);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar3_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTFunctions.cpp:282:14: note: \'_omcQ_24tmpVar3_\' declared here\n double _omcQ_24tmpVar3_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.cpp:29817:7: warning: expression result unused [-Wunused-value]\n tmp7;\n ^~~~\n1 warning and 1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFTCalcHelperMain.o] Error 1\n'