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.00154/0.00154, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.997/1.997, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001087/0.001087, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.143e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08926, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5255, allocations: 85.23 MB / 454.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5258, allocations: 82.06 kB / 454.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1322/0.658, allocations: 32.12 MB / 486.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6581, allocations: 3.938 kB / 486.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001826/0.6583, allocations: 55.94 kB / 486.6 MB, free: 9.52 MB / 362.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.006978/0.6653, allocations: 1.947 MB / 488.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.6653, allocations: 12.03 kB / 488.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.6665, allocations: 237.3 kB / 488.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.6705, allocations: 1.208 MB / 490 MB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.6707, allocations: 160.1 kB / 490.1 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007405/0.6715, allocations: 204 kB / 490.3 MB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007576/0.6791, allocations: 2.536 MB / 492.9 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/0.6792, allocations: 11.92 kB / 492.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.6795, allocations: 92 kB / 493 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/0.6796, allocations: 48 kB / 493 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006038/0.6857, allocations: 1.871 MB / 494.9 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.7059, allocations: 7.529 MB / 0.4906 GB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/0.7097, allocations: 2.323 MB / 0.4929 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.7121, allocations: 0.8996 MB / 0.4938 GB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.7123, allocations: 12.78 kB / 0.4938 GB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.7123, allocations: 43.34 kB / 0.4938 GB, free: 5.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.898e-06/0.7123, allocations: 0 / 0.4938 GB, free: 5.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.007798/0.7201, allocations: 2.95 MB / 0.4967 GB, free: 2.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.7202, allocations: 60.19 kB / 0.4968 GB, free: 2.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.722, allocations: 0.758 MB / 0.4975 GB, free: 1.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002107/0.7222, allocations: 41.7 kB / 0.4976 GB, free: 1.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007059/0.7229, allocations: 0.8318 MB / 0.4984 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.7234, allocations: 323.3 kB / 0.4987 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.7235, allocations: 20 kB / 0.4987 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.7237, allocations: 358.7 kB / 0.499 GB, free: 248 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.7249, allocations: 477.8 kB / 0.4995 GB, free: 15.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.7264, allocations: 0.6583 MB / 0.5001 GB, free: 15.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.7277, allocations: 0.5552 MB / 0.5007 GB, free: 14.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/0.7278, allocations: 4 kB / 0.5007 GB, free: 14.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004112/0.7319, allocations: 1.531 MB / 0.5022 GB, free: 12.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.732, allocations: 8 kB / 0.5022 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.732, allocations: 4 kB / 0.5022 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.7339, allocations: 463 kB / 0.5026 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.7354, allocations: 171.8 kB / 0.5028 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.7483, allocations: 8.447 MB / 0.511 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7495, allocations: 48.03 kB / 0.5111 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.7497, allocations: 39.98 kB / 0.5111 GB, free: 3.223 MB / 394.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 () * 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.0003309/0.7501, allocations: 161.7 kB / 0.5113 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/0.7505, allocations: 102.9 kB / 0.5114 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/0.7545, allocations: 1.501 MB / 0.5128 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.7546, allocations: 8 kB / 0.5129 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7546, allocations: 7.953 kB / 0.5129 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.7546, allocations: 3.984 kB / 0.5129 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009803/0.7644, allocations: 3.486 MB / 0.5163 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/0.7645, allocations: 0 / 0.5163 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.7657, allocations: 128 kB / 0.5164 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.7675, allocations: 459 kB / 0.5168 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.7676, allocations: 23.98 kB / 0.5169 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.7803, allocations: 8.354 MB / 0.525 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7804, allocations: 0 / 0.525 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/0.7861, allocations: 2.273 MB / 0.5272 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/0.787, allocations: 283.8 kB / 0.5275 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.7872, allocations: 19.98 kB / 0.5275 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.788, allocations: 47.92 kB / 0.5276 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.7884, allocations: 88.64 kB / 0.5277 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.7885, allocations: 24 kB / 0.5277 GB, free: 1.547 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001269/0.7898, allocations: 0.5966 MB / 0.5283 GB, free: 0.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7898, allocations: 0 / 0.5283 GB, free: 0.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002155/0.7919, allocations: 395.9 kB / 0.5286 GB, free: 0.5703 MB / 410.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 () * 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.0005617/0.7925, allocations: 171 kB / 0.5288 GB, free: 400 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2658/1.058, allocations: 1.81 MB / 0.5306 GB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.058, allocations: 5.531 kB / 0.5306 GB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/1.061, allocations: 1.266 MB / 0.5318 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/1.063, allocations: 262.7 kB / 0.5321 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008041/1.071, allocations: 2.878 MB / 0.5349 GB, free: 110.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/1.073, allocations: 1.723 MB / 0.5366 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/1.074, allocations: 64.48 kB / 0.5366 GB, free: 110.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.074, allocations: 0 / 0.5366 GB, free: 110.2 MB / 410.7 MB Notification: Performance of Templates: time 0.08465/1.158, allocations: 56.09 MB / 0.5914 GB, free: 83.75 MB / 410.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:34: error: use of undeclared identifier \'D_24tmpVar12_\'; did you mean \'D_24tmpVar13_\'?\n D_24tmpVar13_ = std::cos(D_24tmpVar12_);\n ^~~~~~~~~~~~~\n D_24tmpVar13_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierFunctions.cpp:67:12: note: \'D_24tmpVar13_\' declared here\n double D_24tmpVar13_;\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierFunctions.cpp:127:34: error: use of undeclared identifier \'D_24tmpVar15_\'; did you mean \'D_24tmpVar16_\'?\n D_24tmpVar16_ = std::sin(D_24tmpVar15_);\n ^~~~~~~~~~~~~\n D_24tmpVar16_\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.RectifierFunctions.cpp:104:12: note: \'D_24tmpVar16_\' declared here\n double D_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'