Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001509, allocations: 188.3 kB / 16.41 MB, free: 5.723 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.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001193/0.001192, allocations: 90.91 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.4802, allocations: 85.33 MB / 459.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4805, allocations: 75.97 kB / 459.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1337/0.6143, allocations: 32.05 MB / 492 MB, free: 11.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6144, allocations: 0 / 492 MB, free: 11.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002187/0.6146, allocations: 59.88 kB / 492 MB, free: 11.04 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.008434/0.6231, allocations: 2.105 MB / 494.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.6231, allocations: 12.03 kB / 494.2 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.6242, allocations: 229.3 kB / 494.4 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/0.6282, allocations: 1.216 MB / 495.6 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.6285, allocations: 156.2 kB / 495.7 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000878/0.6294, allocations: 204 kB / 495.9 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008598/0.638, allocations: 2.59 MB / 498.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/0.6381, allocations: 4 kB / 498.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000353/0.6385, allocations: 88 kB / 498.6 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-05/0.6386, allocations: 52 kB / 498.7 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007213/0.6458, allocations: 1.948 MB / 0.4889 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3135/0.9594, allocations: 7.52 MB / 0.4962 GB, free: 89.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/0.9634, allocations: 2.363 MB / 0.4985 GB, free: 88.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.9636, allocations: 10 kB / 0.4985 GB, free: 88.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.9637, allocations: 42.97 kB / 0.4986 GB, free: 88.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 4.879e-06/0.9637, allocations: 0 / 0.4986 GB, free: 88.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.01385/0.9776, allocations: 4.284 MB / 0.5028 GB, free: 87.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.9777, allocations: 66.59 kB / 0.5028 GB, free: 87.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.9794, allocations: 0.7682 MB / 0.5036 GB, free: 87.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.9797, allocations: 40.27 kB / 0.5036 GB, free: 87.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006507/0.9803, allocations: 0.8371 MB / 0.5044 GB, free: 86.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004908/0.9808, allocations: 323.4 kB / 0.5048 GB, free: 86.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.855e-05/0.9809, allocations: 22.5 kB / 0.5048 GB, free: 86.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9811, allocations: 350.1 kB / 0.5051 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.9824, allocations: 0.5016 MB / 0.5056 GB, free: 86.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.984, allocations: 0.6737 MB / 0.5063 GB, free: 86.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.9856, allocations: 0.583 MB / 0.5068 GB, free: 86.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.9857, allocations: 0 / 0.5068 GB, free: 86.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004308/0.99, allocations: 1.58 MB / 0.5084 GB, free: 86.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.9901, allocations: 17.94 kB / 0.5084 GB, free: 86.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.52e-05/0.9902, allocations: 7.281 kB / 0.5084 GB, free: 86.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.992, allocations: 469.3 kB / 0.5088 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.9933, allocations: 174.5 kB / 0.509 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/1.005, allocations: 8.602 MB / 0.5174 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.007, allocations: 53.36 kB / 0.5175 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/1.007, allocations: 40.67 kB / 0.5175 GB, free: 79.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001769/1.009, allocations: 0.6402 MB / 0.5181 GB, free: 79.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/1.009, allocations: 100.2 kB / 0.5182 GB, free: 79.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/1.013, allocations: 1.544 MB / 0.5197 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.013, allocations: 15.08 kB / 0.5197 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.013, allocations: 0 / 0.5197 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/1.013, allocations: 17.64 kB / 0.5198 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009474/1.022, allocations: 3.524 MB / 0.5232 GB, free: 77.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/1.023, allocations: 11.47 kB / 0.5232 GB, free: 77.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.024, allocations: 128 kB / 0.5233 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/1.025, allocations: 455.8 kB / 0.5238 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/1.026, allocations: 19.16 kB / 0.5238 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.037, allocations: 8.532 MB / 0.5321 GB, free: 70.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.037, allocations: 0 / 0.5321 GB, free: 70.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005898/1.043, allocations: 2.365 MB / 0.5344 GB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008271/1.044, allocations: 284.3 kB / 0.5347 GB, free: 68.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/1.044, allocations: 19.66 kB / 0.5347 GB, free: 68.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/1.045, allocations: 45.7 kB / 0.5348 GB, free: 68.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/1.046, allocations: 86.14 kB / 0.5348 GB, free: 68.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/1.046, allocations: 29.62 kB / 0.5349 GB, free: 68.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001226/1.047, allocations: 0.5973 MB / 0.5355 GB, free: 68.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.047, allocations: 4 kB / 0.5355 GB, free: 68.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00259/1.05, allocations: 401.5 kB / 0.5358 GB, free: 68.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006074/1.05, allocations: 154.5 kB / 0.536 GB, free: 68.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00447/1.055, allocations: 1.889 MB / 0.5378 GB, free: 67.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.055, allocations: 0 / 0.5378 GB, free: 67.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002833/1.058, allocations: 1.304 MB / 0.5391 GB, free: 66.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/1.06, allocations: 265.9 kB / 0.5394 GB, free: 66.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.07, allocations: 4.382 MB / 0.5436 GB, free: 63.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.072, allocations: 1.722 MB / 0.5453 GB, free: 61.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/1.072, allocations: 70.95 kB / 0.5454 GB, free: 61.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/1.072, allocations: 3.938 kB / 0.5454 GB, free: 61.76 MB / 378.7 MB Notification: Performance of Templates: time 0.08779/1.16, allocations: 56.08 MB / 0.6002 GB, free: 7.406 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.Electrical.MultiPhase.Examples.RectifierCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierFunctions.cpp:90:38: error: use of undeclared identifier \'_omcQ_24tmpVar12_\'; did you mean \'_omcQ_24tmpVar13_\'?\n _omcQ_24tmpVar13_ = std::cos(_omcQ_24tmpVar12_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar13_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierFunctions.cpp:67:12: note: \'_omcQ_24tmpVar13_\' declared here\n double _omcQ_24tmpVar13_;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierFunctions.cpp:127:38: error: use of undeclared identifier \'_omcQ_24tmpVar15_\'; did you mean \'_omcQ_24tmpVar16_\'?\n _omcQ_24tmpVar16_ = std::sin(_omcQ_24tmpVar15_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar16_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierFunctions.cpp:104:12: note: \'_omcQ_24tmpVar16_\' declared here\n double _omcQ_24tmpVar16_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierCalcHelperMain.o] Error 1\n'