Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.574e-05, allocations: 0 / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08923/0.08928, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5397, allocations: 86.91 MB / 429.5 MB, free: 7.293 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5399, allocations: 71.78 kB / 429.5 MB, free: 7.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1184/0.6583, allocations: 32.88 MB / 462.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.52e-06/0.6584, allocations: 0 / 462.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.6585, allocations: 51.94 kB / 462.4 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.004404/0.6629, allocations: 1.962 MB / 464.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.663, allocations: 8.031 kB / 464.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005997/0.6636, allocations: 237.2 kB / 464.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.6663, allocations: 1.22 MB / 465.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.6665, allocations: 152.2 kB / 466 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.6669, allocations: 204 kB / 466.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/0.6724, allocations: 2.505 MB / 468.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.6725, allocations: 4 kB / 468.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/0.6728, allocations: 88 kB / 468.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.6728, allocations: 48 kB / 468.9 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004338/0.6772, allocations: 1.855 MB / 470.7 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.6923, allocations: 7.506 MB / 478.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.6954, allocations: 2.3 MB / 480.5 MB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.6972, allocations: 0.8994 MB / 481.4 MB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.603e-05/0.6973, allocations: 8.781 kB / 481.4 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.6974, allocations: 43.33 kB / 481.5 MB, free: 7.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 6.977e-06/0.6974, allocations: 4 kB / 481.5 MB, free: 7.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.006397/0.7038, allocations: 2.954 MB / 484.4 MB, free: 4.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.7039, allocations: 60.19 kB / 484.5 MB, free: 4.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.7053, allocations: 0.7502 MB / 485.2 MB, free: 3.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/0.7054, allocations: 45.7 kB / 485.3 MB, free: 3.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000701/0.7061, allocations: 0.8396 MB / 486.1 MB, free: 2.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.7065, allocations: 323.3 kB / 486.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.7066, allocations: 20 kB / 486.5 MB, free: 2.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.7068, allocations: 350.8 kB / 486.8 MB, free: 1.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009926/0.7078, allocations: 481.8 kB / 487.3 MB, free: 1.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.709, allocations: 0.6485 MB / 487.9 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.7101, allocations: 0.5513 MB / 488.5 MB, free: 148 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.307e-06/0.7101, allocations: 4 kB / 488.5 MB, free: 144 kB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003391/0.7135, allocations: 1.523 MB / 490 MB, free: 14.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.7136, allocations: 4 kB / 490 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.7136, allocations: 11.95 kB / 490 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.7151, allocations: 463 kB / 490.5 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/0.7161, allocations: 175.7 kB / 490.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.728, allocations: 8.44 MB / 499.1 MB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.7289, allocations: 56.55 kB / 499.1 MB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.7291, allocations: 32 kB / 499.2 MB, free: 4.887 MB / 410.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.0003125/0.7294, allocations: 175.4 kB / 499.3 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.7297, allocations: 98.78 kB / 499.4 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/0.7329, allocations: 1.494 MB / 0.4892 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.733, allocations: 8 kB / 0.4892 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.694e-06/0.733, allocations: 0 / 0.4892 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.733, allocations: 3.984 kB / 0.4892 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/0.7407, allocations: 3.466 MB / 0.4926 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.7408, allocations: 4 kB / 0.4926 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/0.7416, allocations: 131.8 kB / 0.4927 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.743, allocations: 443.1 kB / 0.4931 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.7431, allocations: 20 kB / 0.4932 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/0.7546, allocations: 8.365 MB / 0.5013 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.345e-06/0.7547, allocations: 0 / 0.5013 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/0.7593, allocations: 2.28 MB / 0.5035 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/0.7599, allocations: 279.8 kB / 0.5038 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.7601, allocations: 19.98 kB / 0.5038 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.7608, allocations: 51.95 kB / 0.5039 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/0.761, allocations: 80.75 kB / 0.504 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.512e-05/0.7611, allocations: 27.94 kB / 0.504 GB, free: 3.227 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.7623, allocations: 0.5928 MB / 0.5046 GB, free: 2.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.7623, allocations: 0 / 0.5046 GB, free: 2.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001988/0.7643, allocations: 407.9 kB / 0.505 GB, free: 2.242 MB / 426.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.0003822/0.7647, allocations: 168 kB / 0.5051 GB, free: 2.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.7682, allocations: 1.78 MB / 0.5069 GB, free: 240 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.223e-06/0.7683, allocations: 0 / 0.5069 GB, free: 240 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.7705, allocations: 1.236 MB / 0.5081 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.772, allocations: 259.1 kB / 0.5083 GB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.7788, allocations: 2.879 MB / 0.5111 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/0.7809, allocations: 1.73 MB / 0.5128 GB, free: 10 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.7812, allocations: 63.44 kB / 0.5129 GB, free: 9.938 MB / 442.7 MB Notification: Performance of SimCode: time 1.577e-06/0.7812, allocations: 0 / 0.5129 GB, free: 9.938 MB / 442.7 MB Notification: Performance of Templates: time 0.3016/1.083, allocations: 55.96 MB / 0.5675 GB, free: 113.1 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierFunctions.cpp:90:49: error: use of undeclared identifier '_omcQuot_24746D705661723130_'; did you mean '_omcQuot_24746D705661723131_'? _omcQuot_24746D705661723131_ = std::cos(_omcQuot_24746D705661723130_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723131_ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierFunctions.cpp:67:12: note: '_omcQuot_24746D705661723131_' declared here double _omcQuot_24746D705661723131_; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierFunctions.cpp:127:49: error: use of undeclared identifier '_omcQuot_24746D705661723133_'; did you mean '_omcQuot_24746D705661723134_'? _omcQuot_24746D705661723134_ = std::sin(_omcQuot_24746D705661723133_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723134_ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierFunctions.cpp:104:12: note: '_omcQuot_24746D705661723134_' declared here double _omcQuot_24746D705661723134_; ^ 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.RectifierCalcHelperMain.o] Error 1